#CBB23E#CBB23E
#CBB23E is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.4% C 0.135 H 96.8°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CBB23E |
|---|---|
| RGB | rgb(203, 178, 62) |
| HSL | hsl(49, 58%, 52%) |
| HSV | hsv(49, 69%, 80%) |
| CMYK | cmyk(0%, 12.3%, 69.5%, 20.4%) |
| CIE-LAB | lab(72.82, -3.76, 59.88) |
| CIE-LCH | lch(72.82, 59.99, 93.59°) |
| OKLab | oklab(76.44% -0.0159 0.1339) |
| OKLCH | oklch(76.44% 0.135 96.8) |
| XYZ | xyz(41.4205, 44.8872, 11.0389) |
| Luminance | 0.4489 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.57
Mustard (survey)
#CEB301
ΔE00 3.79
Muddy Yellow
#BFAC05
ΔE00 4.13
Dark Yellow
#D5B60A
ΔE00 4.17
Mustard
#DBB42C
ΔE00 4.24
Gold (survey)
#DBB40C
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBB23E #3E57CB
analogous
#CB6C3E #CBB23E #9DCB3E
triadic
#CBB23E #3ECBB2 #B23ECB
tetradic
#CBB23E #3ECB6C #3E57CB #CB3E9D
square
#CBB23E #3ECB6C #3E57CB #CB3E9D
split-complementary
#CBB23E #3E9DCB #6C3ECB
monochromatic
#70621E #A18C2B #CBB23E #D8C56E #E5D89E
Accessibility & contrast
On white
2.10
#CBB23E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.98
#CBB23E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBB23E
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBB23E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBB23E | 1.00 | 2.10 | 9.98 | 9.98 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE2E
Deuteranopia (green-blind)
#CAB645
Tritanopia (blue-blind)
#DBA59A
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cbb23e; /* rgb */ color: rgb(203, 178, 62); /* oklch */ color: oklch(76.4% 0.135 96.8);
Tailwind
colors: {
custom: {
50: '#dec87a',
500: '#cbb23e',
950: '#000000',
},
}SCSS
$custom: #cbb23e; $custom-light: #dec87a; $custom-dark: #000000;
JSON
{
"hex": "#cbb23e",
"rgb": {
"r": 203,
"g": 178,
"b": 62
},
"hsl": {
"h": 49.362,
"s": 57.551,
"l": 51.961
},
"oklch": {
"l": 0.76443,
"c": 0.13481,
"h": 96.8
},
"luminance": 0.44885
}Semantic roles & 50–950 ramp
primary
#CBB23E
secondary
#949ED1
accent
#62E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C