#B1C142
Closest named color: Pea (#A4BF20). oklch(77.5% 0.15 116.2), rgb(177, 193, 66).
Aa
Black text reads best on this color (10.57:1).
About this color
#B1C142 is a medium-light, vivid yellow. In OKLCH its lightness is 77%, its chroma 0.150 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea (#A4BF20), ΔE 0.029 away. Black text reads best on it, at 10.57:1.
| Hue family | Yellows |
| Lightness | medium-light (77%) |
| Chroma | vivid (0.150) |
| Temperature | in between |
| Nearest name | Pea (#A4BF20) |
| Black text | 10.57:1 |
| White text | 1.98:1 |
Values
| HEX | #B1C142 |
| RGB | rgb(177, 193, 66) |
| HSL | hsl(68, 51%, 51%) |
| OKLCH | oklch(77.5% 0.15 116.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 #B1C142 | 1.98:1 | Fails | Lc -42.7 | Non-text elements, placeholder text |
| Black text on #B1C142 | 10.57:1 | AAA | Lc 65.6 | Content text, not long reading |
| #B1C142 text on white | 1.98:1 | Fails | Lc 38.3 | Non-text elements, placeholder text |
| #B1C142 text on black | 10.57:1 | AAA | Lc -64.1 | 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
#F4F7E8
oklch(97% 0.02 116)
-
Step 100
100
#E8EECE
oklch(93.6% 0.043 115.9)
-
Step 200
200
#D6E1A1
oklch(88.6% 0.084 116.1)
-
Step 300
300 (this color)
#B1C142
oklch(77.5% 0.15 116.2)
-
Step 400
400
#9CAC00
oklch(70.7% 0.162 116.2)
-
Step 500
500
#869300
oklch(63.1% 0.144 115.9)
-
Step 600
600
#707C00
oklch(55.7% 0.128 116.3)
-
Step 700
700
#5E6800
oklch(49.2% 0.113 116.2)
-
Step 800
800
#4D5500
oklch(42.8% 0.098 115.9)
-
Step 900
900
#3F4700
oklch(37.7% 0.087 116.8)
-
Step 950
950
#252A00
oklch(27.1% 0.062 116.5)
#B1C142 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) | #CEB730 | 0.044 |
| Deuteranopia (no green cones) | #CDB94B | 0.047 |
| Tritanopia (no blue cones) | #BCB6A7 | 0.131 |
| Achromatopsia (no color) | #B8B8B8 | 0.150 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B1C142
#B1C142
oklch(77.5% 0.15 116.2)
- #BDA4FF
#BDA4FF
oklch(77.5% 0.13 295.9)
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 #B1C142, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pea #A4BF20 ΔE 0.029
- Light Olive Green #A4BE5C ΔE 0.029
- Olive Yellow #C2B709 ΔE 0.033
- Light Olive #ACBF69 ΔE 0.037
- Mustard Green #A8B504 ΔE 0.041
- Bright Olive #9CBB04 ΔE 0.044
- Light Moss Green #A6C875 ΔE 0.045
- Mustard Yellow #D2BD0A ΔE 0.046
Use #B1C142 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.