#B8B900
Closest named color: Olive Yellow (#C2B709). oklch(76% 0.166 110.2), rgb(184, 185, 0).
Aa
Black text reads best on this color (9.97:1).
About this color
#B8B900 is a medium-light, vivid yellow. In OKLCH its lightness is 76%, its chroma 0.166 and its hue 110°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.016 away. Black text reads best on it, at 9.97:1.
| Hue family | Yellows |
| Lightness | medium-light (76%) |
| Chroma | vivid (0.166) |
| Temperature | in between |
| Nearest name | Olive Yellow (#C2B709) |
| Black text | 9.97:1 |
| White text | 2.10:1 |
Values
| HEX | #B8B900 |
| RGB | rgb(184, 185, 0) |
| HSL | hsl(60, 100%, 36%) |
| OKLCH | oklch(76% 0.166 110.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 #B8B900 | 2.10:1 | Fails | Lc -45.6 | Large or bold text, headings |
| Black text on #B8B900 | 9.97:1 | AAA | Lc 62.9 | Content text, not long reading |
| #B8B900 text on white | 2.10:1 | Fails | Lc 41.0 | Non-text elements, placeholder text |
| #B8B900 text on black | 9.97:1 | AAA | Lc -61.3 | 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
#F6F7E6
oklch(97.1% 0.022 109.5)
-
Step 100
100
#EBEDC9
oklch(93.5% 0.047 109.9)
-
Step 200
200
#DCDF97
oklch(88.5% 0.093 110.2)
-
Step 300
300 (this color)
#B8B900
oklch(76% 0.166 110.2)
-
Step 400
400
#A7A800
oklch(70.7% 0.155 110.2)
-
Step 500
500
#8F9000
oklch(63.2% 0.138 110.3)
-
Step 600
600
#787900
oklch(55.7% 0.122 110.4)
-
Step 700
700
#656500
oklch(49.1% 0.107 109.8)
-
Step 800
800
#525300
oklch(42.7% 0.094 110.6)
-
Step 900
900
#444500
oklch(37.7% 0.083 110.7)
-
Step 950
950
#282900
oklch(27.1% 0.06 111.2)
#B8B900 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) | #C9B000 | 0.033 |
| Deuteranopia (no green cones) | #CAB521 | 0.031 |
| Tritanopia (no blue cones) | #C6AC9D | 0.150 |
| Achromatopsia (no color) | #B3B3B3 | 0.166 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B8B900
#B8B900
oklch(76% 0.166 110.2)
- #B0A1FF
#B0A1FF
oklch(75.9% 0.133 290.2)
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 #B8B900, closest first.
No curated palette has a color within ΔE 0.04 of #B8B900.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Yellow #C2B709 ΔE 0.016
- Mustard Green #A8B504 ΔE 0.026
- Pea #A4BF20 ΔE 0.029
- Muddy Yellow #BFAC05 ΔE 0.035
- Mustard #CEB301 ΔE 0.035
- Bright Olive #9CBB04 ΔE 0.038
- Mustard Yellow #D2BD0A ΔE 0.041
- Dark Yellow #D5B60A ΔE 0.044
Use #B8B900 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.