#B2B87F
Closest named color: Dark Khaki (#BDB76B). oklch(76.4% 0.077 113.1), rgb(178, 184, 127).
Aa
Black text reads best on this color (10.05:1).
About this color
#B2B87F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 76%, its chroma 0.077 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.025 away. Black text reads best on it, at 10.05:1.
| Hue family | Yellows |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.077) |
| Temperature | in between |
| Nearest name | Dark Khaki (#BDB76B) |
| Black text | 10.05:1 |
| White text | 2.08:1 |
Values
| HEX | #B2B87F |
| RGB | rgb(178, 184, 127) |
| HSL | hsl(66, 29%, 61%) |
| OKLCH | oklch(76.4% 0.077 113.1) |
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 #B2B87F | 2.08:1 | Fails | Lc -45.4 | Large or bold text, headings |
| Black text on #B2B87F | 10.05:1 | AAA | Lc 63.1 | Content text, not long reading |
| #B2B87F text on white | 2.08:1 | Fails | Lc 40.8 | Non-text elements, placeholder text |
| #B2B87F text on black | 10.05:1 | AAA | Lc -61.4 | 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
#F5F6EF
oklch(97% 0.009 113.2)
-
Step 100
100
#E9ECDB
oklch(93.6% 0.023 115)
-
Step 200
200
#D9DDBD
oklch(88.6% 0.043 113.1)
-
Step 300
300 (this color)
#B2B87F
oklch(76.4% 0.077 113.1)
-
Step 400
400
#A1A846
oklch(70.6% 0.122 112.9)
-
Step 500
500
#8B9100
oklch(63% 0.14 112.7)
-
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
#505400
oklch(42.8% 0.095 112.9)
-
Step 900
900
#424600
oklch(37.8% 0.084 113.4)
-
Step 950
950
#272900
oklch(27% 0.06 112.6)
#B2B87F 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) | #C0B37B | 0.022 |
| Deuteranopia (no green cones) | #C0B481 | 0.023 |
| Tritanopia (no blue cones) | #B9B2A9 | 0.066 |
| Achromatopsia (no color) | #B3B3B3 | 0.077 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B2B87F
#B2B87F
oklch(76.4% 0.077 113.1)
- #B4AADF
#B4AADF
oklch(76.5% 0.076 293.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 #B2B87F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Khaki #BDB76B ΔE 0.025
- Tan Green #A9BE70 ΔE 0.032
- Sandstone #C9AE74 ΔE 0.038
- Light Olive #ACBF69 ΔE 0.039
- Putty #BEAE8A ΔE 0.039
- Toupe #C7AC7D ΔE 0.042
- Dark Sea Green #8FBC8F ΔE 0.045
- Fawn #CFAF7B ΔE 0.045
Use #B2B87F 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.