#CCB23E#CCB23E
#CCB23E is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.5% C 0.135 H 96.3°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB23E |
|---|---|
| RGB | rgb(204, 178, 62) |
| HSL | hsl(49, 58%, 52%) |
| HSV | hsv(49, 70%, 80%) |
| CMYK | cmyk(0%, 12.7%, 69.6%, 20%) |
| CIE-LAB | lab(72.91, -3.32, 60.00) |
| CIE-LCH | lch(72.91, 60.09, 93.17°) |
| OKLab | oklab(76.54% -0.0148 0.1341) |
| OKLCH | oklch(76.54% 0.135 96.3) |
| XYZ | xyz(41.6938, 45.0281, 11.0517) |
| Luminance | 0.4503 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.60
Mustard (survey)
#CEB301
ΔE00 3.76
Mustard
#DBB42C
ΔE00 3.98
Dark Yellow
#D5B60A
ΔE00 4.06
Muddy Yellow
#BFAC05
ΔE00 4.28
Gold (survey)
#DBB40C
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB23E #3E58CC
analogous
#CC6B3E #CCB23E #9FCC3E
triadic
#CCB23E #3ECCB2 #B23ECC
tetradic
#CCB23E #3ECC6B #3E58CC #CC3E9F
square
#CCB23E #3ECC6B #3E58CC #CC3E9F
split-complementary
#CCB23E #3E9FCC #6B3ECC
monochromatic
#72621E #A28C2B #CCB23E #D9C56E #E6D99F
Accessibility & contrast
On white
2.10
#CCB23E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.01
#CCB23E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB23E
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB23E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB23E | 1.00 | 2.10 | 10.01 | 10.01 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE2E
Deuteranopia (green-blind)
#CBB744
Tritanopia (blue-blind)
#DCA59A
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #ccb23e; /* rgb */ color: rgb(204, 178, 62); /* oklch */ color: oklch(76.5% 0.135 96.3);
Tailwind
colors: {
custom: {
50: '#dfc87a',
500: '#ccb23e',
950: '#000000',
},
}SCSS
$custom: #ccb23e; $custom-light: #dfc87a; $custom-dark: #000000;
JSON
{
"hex": "#ccb23e",
"rgb": {
"r": 204,
"g": 178,
"b": 62
},
"hsl": {
"h": 49.014,
"s": 58.197,
"l": 52.157
},
"oklch": {
"l": 0.76538,
"c": 0.1349,
"h": 96.3
},
"luminance": 0.45026
}Semantic roles & 50–950 ramp
primary
#CCB23E
secondary
#949FD2
accent
#63E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C