#BAAF79
Closest named color: Sandstone (#C9AE74). oklch(75% 0.073 98), rgb(186, 175, 121).
Aa
Black text reads best on this color (9.49:1).
About this color
#BAAF79 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 75%, its chroma 0.073 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Sandstone (#C9AE74), ΔE 0.022 away. Black text reads best on it, at 9.49:1.
| Hue family | Yellows |
| Lightness | medium-light (75%) |
| Chroma | moderately saturated (0.073) |
| Temperature | warm |
| Nearest name | Sandstone (#C9AE74) |
| Black text | 9.49:1 |
| White text | 2.21:1 |
Values
| HEX | #BAAF79 |
| RGB | rgb(186, 175, 121) |
| HSL | hsl(50, 32%, 60%) |
| OKLCH | oklch(75% 0.073 98) |
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 #BAAF79 | 2.21:1 | Fails | Lc -48.3 | Large or bold text, headings |
| Black text on #BAAF79 | 9.49:1 | AAA | Lc 60.4 | Content text, not long reading |
| #BAAF79 text on white | 2.21:1 | Fails | Lc 43.5 | Non-text elements, placeholder text |
| #BAAF79 text on black | 9.49:1 | AAA | Lc -58.6 | 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
#F6F5F1
oklch(97% 0.005 95.1)
-
Step 100
100
#ECEAE0
oklch(93.6% 0.013 97.4)
-
Step 200
200
#DDDAC7
oklch(88.6% 0.026 99.6)
-
Step 300
300
#C8C1A0
oklch(80.8% 0.045 97.4)
-
Step 400
400 (this color)
#BAAF79
oklch(75% 0.073 98)
-
Step 500
500
#988A43
oklch(63.1% 0.093 98.4)
-
Step 600
600
#837321
oklch(55.5% 0.101 97.8)
-
Step 700
700
#6F6112
oklch(49.2% 0.095 98.4)
-
Step 800
800
#5A4F13
oklch(42.7% 0.078 98.5)
-
Step 900
900
#4A4218
oklch(37.8% 0.061 98.6)
-
Step 950
950
#2B270F
oklch(27.1% 0.039 100)
#BAAF79 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) | #B9AC75 | 0.008 |
| Deuteranopia (no green cones) | #BCB07B | 0.005 |
| Tritanopia (no blue cones) | #C4A7A1 | 0.067 |
| Achromatopsia (no color) | #AEAEAE | 0.073 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BAAF79
#BAAF79
oklch(75% 0.073 98)
- #A3AADC
#A3AADC
oklch(75% 0.072 278.3)
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 #BAAF79, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sandstone #C9AE74 ΔE 0.022
- Toupe #C7AC7D ΔE 0.022
- Putty #BEAE8A ΔE 0.024
- Dark Khaki #BDB76B ΔE 0.032
- Fawn #CFAF7B ΔE 0.032
- Desert #CCAD60 ΔE 0.035
- Sand Brown #CBA560 ΔE 0.036
- Bland #AFA88B ΔE 0.038
Use #BAAF79 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.