#BAB267
Closest named color: Dark Khaki (#BDB76B). oklch(75.4% 0.097 103.1), rgb(186, 178, 103).
Aa
Black text reads best on this color (9.65:1).
About this color
#BAB267 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 75%, its chroma 0.097 and its hue 103°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.014 away. Black text reads best on it, at 9.65:1.
| Hue family | Yellows |
| Lightness | medium-light (75%) |
| Chroma | moderately saturated (0.097) |
| Temperature | warm |
| Nearest name | Dark Khaki (#BDB76B) |
| Black text | 9.65:1 |
| White text | 2.17:1 |
Values
| HEX | #BAB267 |
| RGB | rgb(186, 178, 103) |
| HSL | hsl(54, 38%, 57%) |
| OKLCH | oklch(75.4% 0.097 103.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 #BAB267 | 2.17:1 | Fails | Lc -47.5 | Large or bold text, headings |
| Black text on #BAB267 | 9.65:1 | AAA | Lc 61.2 | Content text, not long reading |
| #BAB267 text on white | 2.17:1 | Fails | Lc 42.7 | Non-text elements, placeholder text |
| #BAB267 text on black | 9.65:1 | AAA | Lc -59.4 | 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
#ECEBDD
oklch(93.7% 0.019 103.4)
-
Step 200
200
#DDDBC1
oklch(88.6% 0.035 103.5)
-
Step 300
300
#C7C396
oklch(80.9% 0.06 103.4)
-
Step 400
400 (this color)
#BAB267
oklch(75.4% 0.097 103.1)
-
Step 500
500
#978C1D
oklch(63.1% 0.124 103.4)
-
Step 600
600
#807500
oklch(55.5% 0.117 103)
-
Step 700
700
#6C6200
oklch(49% 0.103 102.5)
-
Step 800
800
#585000
oklch(42.6% 0.089 102.9)
-
Step 900
900
#494300
oklch(37.7% 0.08 103.8)
-
Step 950
950
#2B2705
oklch(26.9% 0.051 102.6)
#BAB267 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) | #BEAD61 | 0.013 |
| Deuteranopia (no green cones) | #C1B26A | 0.011 |
| Tritanopia (no blue cones) | #C5A9A0 | 0.088 |
| Achromatopsia (no color) | #B0B0B0 | 0.097 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BAB267
#BAB267
oklch(75.4% 0.097 103.1)
- #A6A7EB
#A6A7EB
oklch(75.3% 0.097 283.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 #BAB267, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Khaki #BDB76B ΔE 0.014
- Desert #CCAD60 ΔE 0.028
- Sandstone #C9AE74 ΔE 0.032
- Tan Green #A9BE70 ΔE 0.036
- Light Olive #ACBF69 ΔE 0.038
- Sand Brown #CBA560 ΔE 0.039
- Toupe #C7AC7D ΔE 0.042
- Fawn #CFAF7B ΔE 0.044
Use #BAB267 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.