#BAAF74
Closest named color: Sandstone (#C9AE74). oklch(74.9% 0.079 98.9), rgb(186, 175, 116).
Aa
Black text reads best on this color (9.47:1).
About this color
#BAAF74 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 75%, its chroma 0.079 and its hue 99°. 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.47:1.
| Hue family | Yellows |
| Lightness | medium-light (75%) |
| Chroma | moderately saturated (0.079) |
| Temperature | warm |
| Nearest name | Sandstone (#C9AE74) |
| Black text | 9.47:1 |
| White text | 2.21:1 |
Values
| HEX | #BAAF74 |
| RGB | rgb(186, 175, 116) |
| HSL | hsl(51, 34%, 59%) |
| OKLCH | oklch(74.9% 0.079 98.9) |
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 #BAAF74 | 2.21:1 | Fails | Lc -48.4 | Large or bold text, headings |
| Black text on #BAAF74 | 9.47:1 | AAA | Lc 60.3 | Content text, not long reading |
| #BAAF74 text on white | 2.21:1 | Fails | Lc 43.6 | Non-text elements, placeholder text |
| #BAAF74 text on black | 9.47:1 | AAA | Lc -58.5 | 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
#F6F6F1
oklch(97.2% 0.007 106.5)
-
Step 100
100
#ECEAE0
oklch(93.6% 0.013 97.4)
-
Step 200
200
#DDDAC6
oklch(88.5% 0.027 99.9)
-
Step 300
300
#C8C29D
oklch(80.9% 0.05 99.8)
-
Step 400
400 (this color)
#BAAF74
oklch(74.9% 0.079 98.9)
-
Step 500
500
#998A3B
oklch(63.1% 0.101 98.6)
-
Step 600
600
#847412
oklch(55.7% 0.11 99)
-
Step 700
700
#6F6100
oklch(49.1% 0.102 99.4)
-
Step 800
800
#5B4F08
oklch(42.7% 0.085 98.6)
-
Step 900
900
#4A4213
oklch(37.7% 0.066 99.5)
-
Step 950
950
#2C270D
oklch(27.2% 0.042 98.6)
#BAAF74 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) | #BAAC70 | 0.008 |
| Deuteranopia (no green cones) | #BDB076 | 0.006 |
| Tritanopia (no blue cones) | #C4A7A0 | 0.072 |
| Achromatopsia (no color) | #AEAEAE | 0.079 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BAAF74
#BAAF74
oklch(74.9% 0.079 98.9)
- #A2A9E0
#A2A9E0
oklch(74.9% 0.08 278.7)
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 #BAAF74, 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.026
- Dark Khaki #BDB76B ΔE 0.028
- Putty #BEAE8A ΔE 0.030
- Desert #CCAD60 ΔE 0.031
- Fawn #CFAF7B ΔE 0.034
- Sand Brown #CBA560 ΔE 0.034
- Bland #AFA88B ΔE 0.043
Use #BAAF74 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.