#CAB478
Closest named color: Sandstone (#C9AE74). oklch(77.5% 0.082 90.1), rgb(202, 180, 120).
Aa
Black text reads best on this color (10.31:1).
About this color
#CAB478 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 77%, its chroma 0.082 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Sandstone (#C9AE74), ΔE 0.015 away. Black text reads best on it, at 10.31:1.
| Hue family | Yellows |
| Lightness | medium-light (77%) |
| Chroma | moderately saturated (0.082) |
| Temperature | warm |
| Nearest name | Sandstone (#C9AE74) |
| Black text | 10.31:1 |
| White text | 2.03:1 |
Values
| HEX | #CAB478 |
| RGB | rgb(202, 180, 120) |
| HSL | hsl(44, 44%, 63%) |
| OKLCH | oklch(77.5% 0.082 90.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 #CAB478 | 2.03:1 | Fails | Lc -44.1 | Non-text elements, placeholder text |
| Black text on #CAB478 | 10.31:1 | AAA | Lc 64.3 | Content text, not long reading |
| #CAB478 text on white | 2.03:1 | Fails | Lc 39.6 | Non-text elements, placeholder text |
| #CAB478 text on black | 10.31:1 | AAA | Lc -62.7 | 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 300.
-
Step 50
50
#F8F5ED
oklch(97% 0.011 89.7)
-
Step 100
100
#F0EAD8
oklch(93.7% 0.025 91.6)
-
Step 200
200
#E5D8B8
oklch(88.4% 0.045 88.5)
-
Step 300
300 (this color)
#CAB478
oklch(77.5% 0.082 90.1)
-
Step 400
400
#C09C2A
oklch(70.7% 0.131 90.2)
-
Step 500
500
#A88500
oklch(63.2% 0.129 90)
-
Step 600
600
#8D6F00
oklch(55.5% 0.113 89.9)
-
Step 700
700
#775D00
oklch(49.1% 0.1 89.6)
-
Step 800
800
#614C00
oklch(42.6% 0.087 90.4)
-
Step 900
900
#513F00
oklch(37.6% 0.077 90.4)
-
Step 950
950
#312500
oklch(27.1% 0.055 90.3)
#CAB478 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) | #C1B274 | 0.016 |
| Deuteranopia (no green cones) | #C6B87A | 0.011 |
| Tritanopia (no blue cones) | #D6ABA5 | 0.074 |
| Achromatopsia (no color) | #B6B6B6 | 0.082 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CAB478
#CAB478
oklch(77.5% 0.082 90.1)
- #A1B4EB
#A1B4EB
oklch(77.5% 0.082 269.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 #CAB478, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sandstone #C9AE74 ΔE 0.015
- Fawn #CFAF7B ΔE 0.016
- Very Light Brown #D3B683 ΔE 0.020
- Toupe #C7AC7D ΔE 0.025
- Desert #CCAD60 ΔE 0.027
- Dark Khaki #BDB76B ΔE 0.028
- Tan #D2B48C ΔE 0.029
- Putty #BEAE8A ΔE 0.036
Use #CAB478 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.