#CAB147#CAB147
#CAB147 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.2% C 0.127 H 95.9°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CAB147 |
|---|---|
| RGB | rgb(202, 177, 71) |
| HSL | hsl(49, 55%, 54%) |
| HSV | hsv(49, 65%, 79%) |
| CMYK | cmyk(0%, 12.4%, 64.9%, 20.8%) |
| CIE-LAB | lab(72.53, -3.15, 55.78) |
| CIE-LCH | lch(72.53, 55.87, 93.23°) |
| OKLab | oklab(76.22% -0.0131 0.1267) |
| OKLCH | oklch(76.22% 0.127 95.9) |
| XYZ | xyz(41.2185, 44.4578, 12.3701) |
| Luminance | 0.4446 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.68
Mustard
#DBB42C
ΔE00 4.80
Mustard (survey)
#CEB301
ΔE00 4.94
Muddy Yellow
#BFAC05
ΔE00 5.01
Desert
#CCAD60
ΔE00 5.02
Dark Yellow
#D5B60A
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAB147 #4760CA
analogous
#CA6F47 #CAB147 #A1CA47
triadic
#CAB147 #47CAB1 #B147CA
tetradic
#CAB147 #47CA6F #4760CA #CA47A1
square
#CAB147 #47CA6F #4760CA #CA47A1
split-complementary
#CAB147 #47A1CA #6F47CA
monochromatic
#756522 #A48E2F #CAB147 #D8C577 #E5D9A6
Accessibility & contrast
On white
2.12
#CAB147 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#CAB147 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAB147
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAB147 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAB147 | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD3A
Deuteranopia (green-blind)
#C9B54C
Tritanopia (blue-blind)
#D9A49B
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cab147; /* rgb */ color: rgb(202, 177, 71); /* oklch */ color: oklch(76.2% 0.127 95.9);
Tailwind
colors: {
custom: {
50: '#ddc87f',
500: '#cab147',
950: '#000000',
},
}SCSS
$custom: #cab147; $custom-light: #ddc87f; $custom-dark: #000000;
JSON
{
"hex": "#cab147",
"rgb": {
"r": 202,
"g": 177,
"b": 71
},
"hsl": {
"h": 48.55,
"s": 55.274,
"l": 53.529
},
"oklch": {
"l": 0.76219,
"c": 0.12738,
"h": 95.9
},
"luminance": 0.44456
}Semantic roles & 50–950 ramp
primary
#CAB147
secondary
#9AA5D2
accent
#66DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C