#BAB172
Closest named color: Dark Khaki (#BDB76B). oklch(75.3% 0.083 101.1), rgb(186, 177, 114).
Aa
Black text reads best on this color (9.61:1).
About this color
#BAB172 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 75%, its chroma 0.083 and its hue 101°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.021 away. Black text reads best on it, at 9.61:1.
| Hue family | Yellows |
| Lightness | medium-light (75%) |
| Chroma | moderately saturated (0.083) |
| Temperature | warm |
| Nearest name | Dark Khaki (#BDB76B) |
| Black text | 9.61:1 |
| White text | 2.18:1 |
Values
| HEX | #BAB172 |
| RGB | rgb(186, 177, 114) |
| HSL | hsl(53, 34%, 59%) |
| OKLCH | oklch(75.3% 0.083 101.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 #BAB172 | 2.18:1 | Fails | Lc -47.7 | Large or bold text, headings |
| Black text on #BAB172 | 9.61:1 | AAA | Lc 61.0 | Content text, not long reading |
| #BAB172 text on white | 2.18:1 | Fails | Lc 42.9 | Non-text elements, placeholder text |
| #BAB172 text on black | 9.61:1 | AAA | Lc -59.3 | Large or bold text, headings |
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
#F6F6F0
oklch(97.1% 0.008 106.5)
-
Step 100
100
#ECEADF
oklch(93.6% 0.015 98.3)
-
Step 200
200
#DDDAC5
oklch(88.5% 0.028 100.3)
-
Step 300
300
#C7C29C
oklch(80.8% 0.051 101.2)
-
Step 400
400 (this color)
#BAB172
oklch(75.3% 0.083 101.1)
-
Step 500
500
#978B36
oklch(63% 0.106 101.3)
-
Step 600
600
#827400
oklch(55.5% 0.116 101)
-
Step 700
700
#6D6200
oklch(49.1% 0.103 101.8)
-
Step 800
800
#5A5000
oklch(42.8% 0.089 101.1)
-
Step 900
900
#4A420F
oklch(37.7% 0.069 100.1)
-
Step 950
950
#2B270B
oklch(27% 0.044 101.2)
#BAB172 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) | #BCAD6D | 0.010 |
| Deuteranopia (no green cones) | #BFB174 | 0.008 |
| Tritanopia (no blue cones) | #C4A9A1 | 0.075 |
| Achromatopsia (no color) | #AFAFAF | 0.083 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BAB172
#BAB172
oklch(75.3% 0.083 101.1)
- #A5A9E3
#A5A9E3
oklch(75.3% 0.083 281.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 #BAB172, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Khaki #BDB76B ΔE 0.021
- Sandstone #C9AE74 ΔE 0.024
- Desert #CCAD60 ΔE 0.029
- Toupe #C7AC7D ΔE 0.030
- Putty #BEAE8A ΔE 0.035
- Fawn #CFAF7B ΔE 0.035
- Sand Brown #CBA560 ΔE 0.037
- Tan Green #A9BE70 ΔE 0.042
Use #BAB172 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.