#CBB262#CBB262
#CBB262 is a light, moderate yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.104 H 92.5°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CBB262 |
|---|---|
| RGB | rgb(203, 178, 98) |
| HSL | hsl(46, 50%, 59%) |
| HSV | hsv(46, 52%, 80%) |
| CMYK | cmyk(0%, 12.3%, 51.7%, 20.4%) |
| CIE-LAB | lab(73.17, -1.24, 43.83) |
| CIE-LCH | lch(73.17, 43.85, 91.62°) |
| OKLab | oklab(76.83% -0.0045 0.1042) |
| OKLCH | oklch(76.83% 0.104 92.5) |
| XYZ | xyz(42.7551, 45.4211, 18.0680) |
| Luminance | 0.4542 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.28
Tan (survey)
#D1B26F
ΔE00 3.42
Sandy Brown
#C4A661
ΔE00 4.08
Sandstone
#C9AE74
ΔE00 4.55
Sand Brown
#CBA560
ΔE00 5.72
Darkkhaki
#BDB76B
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBB262 #627BCB
analogous
#CB7E62 #CBB262 #B0CB62
triadic
#CBB262 #62CBB2 #B262CB
tetradic
#CBB262 #62CB7E #627BCB #CB62B0
square
#CBB262 #62CB7E #627BCB #CB62B0
split-complementary
#CBB262 #62B0CB #7E62CB
monochromatic
#86712C #B4973C #CBB262 #DAC990 #E9DFBE
Accessibility & contrast
On white
2.08
#CBB262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.08
#CBB262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBB262
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBB262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBB262 | 1.00 | 2.08 | 10.08 | 10.08 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AF5B
Deuteranopia (green-blind)
#C8B765
Tritanopia (blue-blind)
#D9A79F
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cbb262; /* rgb */ color: rgb(203, 178, 98); /* oklch */ color: oklch(76.8% 0.104 92.5);
Tailwind
colors: {
custom: {
50: '#ddc890',
500: '#cbb262',
950: '#000000',
},
}SCSS
$custom: #cbb262; $custom-light: #ddc890; $custom-dark: #000000;
JSON
{
"hex": "#cbb262",
"rgb": {
"r": 203,
"g": 178,
"b": 98
},
"hsl": {
"h": 45.714,
"s": 50.239,
"l": 59.02
},
"oklch": {
"l": 0.76833,
"c": 0.10425,
"h": 92.5
},
"luminance": 0.45419
}Semantic roles & 50–950 ramp
primary
#CBB262
secondary
#B0BAD9
accent
#6FDA4E
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E