#B8C332
Closest named color: Olive Yellow (#C2B709). oklch(78.4% 0.16 113.9), rgb(184, 195, 50).
Aa
Black text reads best on this color (10.89:1).
About this color
#B8C332 is a light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.160 and its hue 114°. 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.89:1.
| Hue family | Yellows |
| Lightness | light (78%) |
| Chroma | vivid (0.160) |
| Temperature | in between |
| Nearest name | Olive Yellow (#C2B709) |
| Black text | 10.89:1 |
| White text | 1.92:1 |
Values
| HEX | #B8C332 |
| RGB | rgb(184, 195, 50) |
| HSL | hsl(65, 59%, 48%) |
| OKLCH | oklch(78.4% 0.16 113.9) |
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 #B8C332 | 1.92:1 | Fails | Lc -41.1 | Non-text elements, placeholder text |
| Black text on #B8C332 | 10.89:1 | AAA | Lc 67.1 | Content text, not long reading |
| #B8C332 text on white | 1.92:1 | Fails | Lc 36.8 | Non-text elements, placeholder text |
| #B8C332 text on black | 10.89:1 | AAA | Lc -65.7 | 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
#F5F7E7
oklch(97% 0.021 112.6)
-
Step 100
100
#E9EECB
oklch(93.6% 0.046 113.9)
-
Step 200
200
#D8E09C
oklch(88.4% 0.088 113.7)
-
Step 300
300 (this color)
#B8C332
oklch(78.4% 0.16 113.9)
-
Step 400
400
#A0AA00
oklch(70.6% 0.159 113.9)
-
Step 500
500
#899200
oklch(63.1% 0.142 114.1)
-
Step 600
600
#737B00
oklch(55.7% 0.125 114.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
#414600
oklch(37.7% 0.085 114.3)
-
Step 950
950
#262900
oklch(26.9% 0.06 113.9)
#B8C332 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) | #D1B911 | 0.040 |
| Deuteranopia (no green cones) | #D1BC3E | 0.042 |
| Tritanopia (no blue cones) | #C4B7A8 | 0.143 |
| Achromatopsia (no color) | #BBBBBB | 0.161 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B8C332
#B8C332
oklch(78.4% 0.16 113.9)
- #BDA9FF
#BDA9FF
oklch(78.4% 0.122 294.1)
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 #B8C332, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Yellow #C2B709 ΔE 0.031
- Pea #A4BF20 ΔE 0.032
- Mustard Yellow #D2BD0A ΔE 0.037
- Light Olive Green #A4BE5C ΔE 0.044
- Yellow Green #9ACD32 ΔE 0.045
- Mustard Green #A8B504 ΔE 0.046
- Mustard #CEB301 ΔE 0.047
- Dark Yellow #D5B60A ΔE 0.048
Use #B8C332 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.