#CABB74#CABB74
#CABB74 is a light, moderate yellow. Relative luminance 0.494; OKLCH L 78.9% C 0.093 H 97.7°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CABB74 |
|---|---|
| RGB | rgb(202, 187, 116) |
| HSL | hsl(50, 45%, 62%) |
| HSV | hsv(50, 43%, 79%) |
| CMYK | cmyk(0%, 7.4%, 42.6%, 20.8%) |
| CIE-LAB | lab(75.67, -4.64, 37.82) |
| CIE-LCH | lch(75.67, 38.10, 97.00°) |
| OKLab | oklab(78.87% -0.0125 0.092) |
| OKLCH | oklch(78.87% 0.093 97.7) |
| XYZ | xyz(45.2809, 49.3597, 23.6618) |
| Luminance | 0.4936 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.30
Sand
#C2B280
ΔE00 4.92
Sand (survey)
#E2CA76
ΔE00 5.21
Tan (survey)
#D1B26F
ΔE00 5.44
Sandstone
#C9AE74
ΔE00 5.73
Desert
#CCAD60
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CABB74 #7483CA
analogous
#CA9074 #CABB74 #AECA74
triadic
#CABB74 #74CABB #BB74CA
tetradic
#CABB74 #74CA90 #7483CA #CA74AE
square
#CABB74 #74CA90 #7483CA #CA74AE
split-complementary
#CABB74 #74AECA #9074CA
monochromatic
#8E7E36 #B9A548 #CABB74 #DBD1A0 #ECE6CD
Accessibility & contrast
On white
1.93
#CABB74 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.87
#CABB74 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CABB74
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CABB74 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CABB74 | 1.00 | 1.93 | 10.87 | 10.87 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B76F
Deuteranopia (green-blind)
#CCBD77
Tritanopia (blue-blind)
#D6B1AA
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #cabb74; /* rgb */ color: rgb(202, 187, 116); /* oklch */ color: oklch(78.9% 0.093 97.7);
Tailwind
colors: {
custom: {
50: '#dbcf9d',
500: '#cabb74',
950: '#000000',
},
}SCSS
$custom: #cabb74; $custom-light: #dbcf9d; $custom-dark: #000000;
JSON
{
"hex": "#cabb74",
"rgb": {
"r": 202,
"g": 187,
"b": 116
},
"hsl": {
"h": 49.535,
"s": 44.792,
"l": 62.353
},
"oklch": {
"l": 0.78871,
"c": 0.09281,
"h": 97.7
},
"luminance": 0.49358
}Semantic roles & 50–950 ramp
primary
#CABB74
secondary
#BDC3DD
accent
#46B82E
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E