Skip to the color picker

#bab242 color: Pesto

#bab242 is rgb(186, 178, 66) in RGB and oklch(74.914% 0.13196 105.23) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

56°
100%

74.9%
0.132
105°
  • Yellow
  • Light
  • Vivid
  • Neutral
  • ≈ Pistachio
  • yellow-500
  • Black 27%

Inside sRGB: displays the same on any screen.

White text
2.20:1Hard to read
Lc -48
Black text
9.53:1Readable · AA
Lc 61

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Recent

Colors you stop on or copy appear here. They stay on this device.

About #bab242

#bab242 is a bright light yellow color. In OKLCH it has 74.9% lightness, 0.132 chroma and a hue of 105°.

Inside sRGB: displays the same on any screen.

White text on it reaches 2.2:1 contrast and black text 9.53:1, so black text reads better.

The closest named color is Pesto (#c1b23e). In Tailwind CSS the closest color is yellow-500.

More light yellow colors

Lighter: #bab242 mixed with white

Darker: #bab242 mixed with black

Calmer: #bab242 with less saturation

Similar named colors

Colors that go with #bab242

Complementary
Analogous
Triadic
Split

Questions about #bab242

What color is #bab242?

#bab242 is bright light yellow. The closest named color is Pesto. In RGB it is rgb(186, 178, 66), in HSL hsl(56, 47.62%, 49.41%) and in OKLCH oklch(74.914% 0.13196 105.23).

What colors go well with #bab242?

The complementary color of #bab242 is #a6a1fd. For a calmer combination use the analogous colors #dea140 and #88c069. The triadic partners are #2ebeec and #e88ac0.

Is white or black text more readable on #bab242?

Black text reads better on #bab242: white gives a contrast ratio of 2.2:1 and black gives 9.53:1. WCAG AA asks for at least 4.5:1 for body text.

Is #bab242 a warm or cool color?

#bab242 is a neutral color. In OKLCH its hue is 105 degrees, its lightness 74.9% and its chroma 0.132.