#CAB146#CAB146
#CAB146 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.2% C 0.128 H 96.0°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CAB146 |
|---|---|
| RGB | rgb(202, 177, 70) |
| HSL | hsl(49, 55%, 53%) |
| HSV | hsv(49, 65%, 79%) |
| CMYK | cmyk(0%, 12.4%, 65.3%, 20.8%) |
| CIE-LAB | lab(72.53, -3.21, 56.20) |
| CIE-LCH | lch(72.53, 56.30, 93.27°) |
| OKLab | oklab(76.21% -0.0134 0.1275) |
| OKLCH | oklch(76.21% 0.128 96) |
| XYZ | xyz(41.1867, 44.4451, 12.2025) |
| Luminance | 0.4444 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.56
Mustard
#DBB42C
ΔE00 4.74
Mustard (survey)
#CEB301
ΔE00 4.82
Muddy Yellow
#BFAC05
ΔE00 4.90
Desert
#CCAD60
ΔE00 5.13
Dark Yellow
#D5B60A
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAB146 #465FCA
analogous
#CA6F46 #CAB146 #A1CA46
triadic
#CAB146 #46CAB1 #B146CA
tetradic
#CAB146 #46CA6F #465FCA #CA46A1
square
#CAB146 #46CA6F #465FCA #CA46A1
split-complementary
#CAB146 #46A1CA #6F46CA
monochromatic
#746521 #A48E2F #CAB146 #D8C576 #E5D9A5
Accessibility & contrast
On white
2.12
#CAB146 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#CAB146 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAB146
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAB146 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAB146 | 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)
#C2AD39
Deuteranopia (green-blind)
#C9B54B
Tritanopia (blue-blind)
#D9A49A
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cab146; /* rgb */ color: rgb(202, 177, 70); /* oklch */ color: oklch(76.2% 0.128 96.0);
Tailwind
colors: {
custom: {
50: '#ddc87e',
500: '#cab146',
950: '#000000',
},
}SCSS
$custom: #cab146; $custom-light: #ddc87e; $custom-dark: #000000;
JSON
{
"hex": "#cab146",
"rgb": {
"r": 202,
"g": 177,
"b": 70
},
"hsl": {
"h": 48.636,
"s": 55.462,
"l": 53.333
},
"oklch": {
"l": 0.7621,
"c": 0.12815,
"h": 96
},
"luminance": 0.44443
}Semantic roles & 50–950 ramp
primary
#CAB146
secondary
#9AA4D2
accent
#65DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C