#CCB458#CCB458
#CCB458 is a light, moderate yellow. Relative luminance 0.462; OKLCH L 77.2% C 0.116 H 94.9°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB458 |
|---|---|
| RGB | rgb(204, 180, 88) |
| HSL | hsl(48, 53%, 57%) |
| HSV | hsv(48, 57%, 80%) |
| CMYK | cmyk(0%, 11.8%, 56.9%, 20%) |
| CIE-LAB | lab(73.67, -2.70, 49.32) |
| CIE-LCH | lch(73.67, 49.39, 93.13°) |
| OKLab | oklab(77.21% -0.0099 0.1151) |
| OKLCH | oklch(77.21% 0.116 94.9) |
| XYZ | xyz(42.9863, 46.1864, 15.8813) |
| Luminance | 0.4618 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.81
Tan (survey)
#D1B26F
ΔE00 5.24
Sandy Brown
#C4A661
ΔE00 5.73
Sand (survey)
#E2CA76
ΔE00 5.87
Darkkhaki
#BDB76B
ΔE00 5.89
Mustard
#DBB42C
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB458 #5870CC
analogous
#CC7A58 #CCB458 #AACC58
triadic
#CCB458 #58CCB4 #B458CC
tetradic
#CCB458 #58CC7A #5870CC #CC58AA
square
#CCB458 #58CC7A #5870CC #CC58AA
split-complementary
#CCB458 #58AACC #7A58CC
monochromatic
#826F28 #B19736 #CCB458 #DAC987 #E9DEB6
Accessibility & contrast
On white
2.05
#CCB458 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.24
#CCB458 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB458
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB458 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB458 | 1.00 | 2.05 | 10.24 | 10.24 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B14F
Deuteranopia (green-blind)
#CAB85C
Tritanopia (blue-blind)
#DBA89F
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #ccb458; /* rgb */ color: rgb(204, 180, 88); /* oklch */ color: oklch(77.2% 0.116 94.9);
Tailwind
colors: {
custom: {
50: '#deca8a',
500: '#ccb458',
950: '#000000',
},
}SCSS
$custom: #ccb458; $custom-light: #deca8a; $custom-dark: #000000;
JSON
{
"hex": "#ccb458",
"rgb": {
"r": 204,
"g": 180,
"b": 88
},
"hsl": {
"h": 47.586,
"s": 53.211,
"l": 57.255
},
"oklch": {
"l": 0.77211,
"c": 0.11552,
"h": 94.9
},
"luminance": 0.46184
}Semantic roles & 50–950 ramp
primary
#CCB458
secondary
#A8B2D7
accent
#69DD4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D