#B9C242
Closest named color: Olive Yellow (#C2B709). oklch(78.3% 0.149 113.2), rgb(185, 194, 66).
Aa
Black text reads best on this color (10.85:1).
About this color
#B9C242 is a light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.149 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.031 away. Black text reads best on it, at 10.85:1.
| Hue family | Yellows |
| Lightness | light (78%) |
| Chroma | vivid (0.149) |
| Temperature | in between |
| Nearest name | Olive Yellow (#C2B709) |
| Black text | 10.85:1 |
| White text | 1.93:1 |
Values
| HEX | #B9C242 |
| RGB | rgb(185, 194, 66) |
| HSL | hsl(64, 51%, 51%) |
| OKLCH | oklch(78.3% 0.149 113.2) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #B9C242 | 1.93:1 | Fails | Lc -41.3 | Non-text elements, placeholder text |
| Black text on #B9C242 | 10.85:1 | AAA | Lc 66.9 | Content text, not long reading |
| #B9C242 text on white | 1.93:1 | Fails | Lc 37.0 | Non-text elements, placeholder text |
| #B9C242 text on black | 10.85:1 | AAA | Lc -65.5 | Content text, not long reading |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.
-
Step 50
50
#F5F7E8
oklch(97.1% 0.02 112.9)
-
Step 100
100
#E9EECD
oklch(93.7% 0.044 114.2)
-
Step 200
200
#D9E0A0
oklch(88.6% 0.084 113.2)
-
Step 300
300 (this color)
#B9C242
oklch(78.3% 0.149 113.2)
-
Step 400
400
#A2AA00
oklch(70.8% 0.158 113.1)
-
Step 500
500
#8A9200
oklch(63.2% 0.142 113.6)
-
Step 600
600
#747A00
oklch(55.6% 0.124 113.2)
-
Step 700
700
#616700
oklch(49.2% 0.11 113.7)
-
Step 800
800
#4F5400
oklch(42.7% 0.096 113.7)
-
Step 900
900
#424600
oklch(37.8% 0.084 113.4)
-
Step 950
950
#272900
oklch(27% 0.06 112.6)
#B9C242 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #D0B930 | 0.036 |
| Deuteranopia (no green cones) | #D0BC4B | 0.038 |
| Tritanopia (no blue cones) | #C5B7A8 | 0.131 |
| Achromatopsia (no color) | #BABABA | 0.149 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B9C242
#B9C242
oklch(78.3% 0.149 113.2)
- #BCA9FF
#BCA9FF
oklch(78.3% 0.122 293.5)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #B9C242, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Yellow #C2B709 ΔE 0.031
- Light Olive Green #A4BE5C ΔE 0.037
- Mustard Yellow #D2BD0A ΔE 0.037
- Pea #A4BF20 ΔE 0.038
- Light Olive #ACBF69 ΔE 0.040
- Mustard #CEB301 ΔE 0.044
- Dark Yellow #D5B60A ΔE 0.046
- Light Moss Green #A6C875 ΔE 0.046
Use #B9C242 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.