#BAB54E
Closest named color: Dark Khaki (#BDB76B). oklch(75.7% 0.125 106.4), rgb(186, 181, 78).
Aa
Black text reads best on this color (9.80:1).
About this color
#BAB54E is a medium-light, moderately saturated yellow. In OKLCH its lightness is 76%, its chroma 0.125 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.029 away. Black text reads best on it, at 9.80:1.
| Hue family | Yellows |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.125) |
| Temperature | warm |
| Nearest name | Dark Khaki (#BDB76B) |
| Black text | 9.80:1 |
| White text | 2.14:1 |
Values
| HEX | #BAB54E |
| RGB | rgb(186, 181, 78) |
| HSL | hsl(57, 44%, 52%) |
| OKLCH | oklch(75.7% 0.125 106.4) |
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 #BAB54E | 2.14:1 | Fails | Lc -46.6 | Large or bold text, headings |
| Black text on #BAB54E | 9.80:1 | AAA | Lc 62.0 | Content text, not long reading |
| #BAB54E text on white | 2.14:1 | Fails | Lc 42.0 | Non-text elements, placeholder text |
| #BAB54E text on black | 9.80:1 | AAA | Lc -60.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 400.
-
Step 50
50
#F6F6EE
oklch(97.1% 0.011 106.6)
-
Step 100
100
#EBEBDA
oklch(93.5% 0.023 106.8)
-
Step 200
200
#DCDCBB
oklch(88.6% 0.044 107.3)
-
Step 300
300
#C6C489
oklch(80.8% 0.078 106.4)
-
Step 400
400 (this color)
#BAB54E
oklch(75.7% 0.125 106.4)
-
Step 500
500
#948E00
oklch(63.1% 0.135 106.7)
-
Step 600
600
#7C7700
oklch(55.6% 0.119 106.8)
-
Step 700
700
#696400
oklch(49.2% 0.105 106.3)
-
Step 800
800
#565200
oklch(42.9% 0.092 106.4)
-
Step 900
900
#474400
oklch(37.7% 0.081 106.8)
-
Step 950
950
#2A2800
oklch(27% 0.058 106.8)
#BAB54E 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) | #C3AF43 | 0.018 |
| Deuteranopia (no green cones) | #C5B354 | 0.019 |
| Tritanopia (no blue cones) | #C6AA9F | 0.114 |
| Achromatopsia (no color) | #B1B1B1 | 0.125 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BAB54E
#BAB54E
oklch(75.7% 0.125 106.4)
- #AAA3FC
#AAA3FC
oklch(75.6% 0.126 286.6)
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 #BAB54E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Khaki #BDB76B ΔE 0.029
- Light Olive #ACBF69 ΔE 0.032
- Light Olive Green #A4BE5C ΔE 0.034
- Muddy Yellow #BFAC05 ΔE 0.036
- Olive Yellow #C2B709 ΔE 0.037
- Tan Green #A9BE70 ΔE 0.037
- Mustard #CEB301 ΔE 0.040
- Desert #CCAD60 ΔE 0.043
Use #BAB54E 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.