#B8C230
Closest named color: Olive Yellow (#C2B709). oklch(78.1% 0.16 113.5), rgb(184, 194, 48).
Aa
Black text reads best on this color (10.79:1).
About this color
#B8C230 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.029 away. Black text reads best on it, at 10.79:1.
| Hue family | Yellows |
| Lightness | light (78%) |
| Chroma | vivid (0.160) |
| Temperature | in between |
| Nearest name | Olive Yellow (#C2B709) |
| Black text | 10.79:1 |
| White text | 1.94:1 |
Values
| HEX | #B8C230 |
| RGB | rgb(184, 194, 48) |
| HSL | hsl(64, 60%, 47%) |
| OKLCH | oklch(78.1% 0.16 113.5) |
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 #B8C230 | 1.94:1 | Fails | Lc -41.6 | Non-text elements, placeholder text |
| Black text on #B8C230 | 10.79:1 | AAA | Lc 66.7 | Content text, not long reading |
| #B8C230 text on white | 1.94:1 | Fails | Lc 37.2 | Non-text elements, placeholder text |
| #B8C230 text on black | 10.79:1 | AAA | Lc -65.2 | 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)
#B8C230
oklch(78.1% 0.16 113.5)
-
Step 400
400
#A1AA00
oklch(70.7% 0.158 113.5)
-
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)
#B8C230 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) | #D1B80B | 0.040 |
| Deuteranopia (no green cones) | #D0BB3D | 0.041 |
| Tritanopia (no blue cones) | #C4B6A7 | 0.143 |
| Achromatopsia (no color) | #BABABA | 0.160 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B8C230
#B8C230
oklch(78.1% 0.16 113.5)
- #BBA8FF
#BBA8FF
oklch(78% 0.123 293.4)
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 #B8C230, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Yellow #C2B709 ΔE 0.029
- Pea #A4BF20 ΔE 0.031
- Mustard Yellow #D2BD0A ΔE 0.036
- Light Olive Green #A4BE5C ΔE 0.043
- Mustard Green #A8B504 ΔE 0.044
- Mustard #CEB301 ΔE 0.045
- Yellow Green #9ACD32 ΔE 0.046
- Dark Yellow #D5B60A ΔE 0.047
Use #B8C230 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.