#CAB262#CAB262
#CAB262 is a light, moderate yellow. Relative luminance 0.453; OKLCH L 76.7% C 0.104 H 93.1°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #CAB262 |
|---|---|
| RGB | rgb(202, 178, 98) |
| HSL | hsl(46, 50%, 59%) |
| HSV | hsv(46, 51%, 79%) |
| CMYK | cmyk(0%, 11.9%, 51.5%, 20.8%) |
| CIE-LAB | lab(73.08, -1.66, 43.70) |
| CIE-LCH | lch(73.08, 43.73, 92.17°) |
| OKLab | oklab(76.74% -0.0056 0.1039) |
| OKLCH | oklch(76.74% 0.104 93.1) |
| XYZ | xyz(42.4836, 45.2811, 18.0552) |
| Luminance | 0.4528 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.52
Tan (survey)
#D1B26F
ΔE00 3.64
Sandy Brown
#C4A661
ΔE00 4.21
Sandstone
#C9AE74
ΔE00 4.65
Darkkhaki
#BDB76B
ΔE00 5.50
Sand Brown
#CBA560
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAB262 #627ACA
analogous
#CA7E62 #CAB262 #AECA62
triadic
#CAB262 #62CAB2 #B262CA
tetradic
#CAB262 #62CA7E #627ACA #CA62AE
square
#CAB262 #62CA7E #627ACA #CA62AE
split-complementary
#CAB262 #62AECA #7E62CA
monochromatic
#85702D #B3973C #CAB262 #D9C890 #E9DFBE
Accessibility & contrast
On white
2.09
#CAB262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.06
#CAB262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAB262
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAB262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAB262 | 1.00 | 2.09 | 10.06 | 10.06 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AF5B
Deuteranopia (green-blind)
#C7B665
Tritanopia (blue-blind)
#D8A79F
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cab262; /* rgb */ color: rgb(202, 178, 98); /* oklch */ color: oklch(76.7% 0.104 93.1);
Tailwind
colors: {
custom: {
50: '#dcc890',
500: '#cab262',
950: '#000000',
},
}SCSS
$custom: #cab262; $custom-light: #dcc890; $custom-dark: #000000;
JSON
{
"hex": "#cab262",
"rgb": {
"r": 202,
"g": 178,
"b": 98
},
"hsl": {
"h": 46.154,
"s": 49.524,
"l": 58.824
},
"oklch": {
"l": 0.76739,
"c": 0.10403,
"h": 93.1
},
"luminance": 0.45279
}Semantic roles & 50–950 ramp
primary
#CAB262
secondary
#AFB9D8
accent
#6FD94F
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E