#CCB258#CCB258
#CCB258 is a light, moderate yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.114 H 93.4°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB258 |
|---|---|
| RGB | rgb(204, 178, 88) |
| HSL | hsl(47, 53%, 57%) |
| HSV | hsv(47, 57%, 80%) |
| CMYK | cmyk(0%, 12.7%, 56.9%, 20%) |
| CIE-LAB | lab(73.14, -1.64, 48.72) |
| CIE-LCH | lch(73.14, 48.74, 91.93°) |
| OKLab | oklab(76.8% -0.0069 0.1138) |
| OKLCH | oklch(76.8% 0.114 93.4) |
| XYZ | xyz(42.5854, 45.3848, 15.7476) |
| Luminance | 0.4538 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.04
Tan (survey)
#D1B26F
ΔE00 4.67
Sandy Brown
#C4A661
ΔE00 5.01
Mustard
#DBB42C
ΔE00 5.96
Sandstone
#C9AE74
ΔE00 6.02
Sand (survey)
#E2CA76
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB258 #5872CC
analogous
#CC7858 #CCB258 #ACCC58
triadic
#CCB258 #58CCB2 #B258CC
tetradic
#CCB258 #58CC78 #5872CC #CC58AC
square
#CCB258 #58CC78 #5872CC #CC58AC
split-complementary
#CCB258 #58ACCC #7858CC
monochromatic
#826E28 #B19536 #CCB258 #DAC887 #E9DDB6
Accessibility & contrast
On white
2.08
#CCB258 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.08
#CCB258 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB258
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB258 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB258 | 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)
#C2AF4F
Deuteranopia (green-blind)
#C9B75C
Tritanopia (blue-blind)
#DBA69E
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #ccb258; /* rgb */ color: rgb(204, 178, 88); /* oklch */ color: oklch(76.8% 0.114 93.4);
Tailwind
colors: {
custom: {
50: '#dec88a',
500: '#ccb258',
950: '#000000',
},
}SCSS
$custom: #ccb258; $custom-light: #dec88a; $custom-dark: #000000;
JSON
{
"hex": "#ccb258",
"rgb": {
"r": 204,
"g": 178,
"b": 88
},
"hsl": {
"h": 46.552,
"s": 53.211,
"l": 57.255
},
"oklch": {
"l": 0.76799,
"c": 0.114,
"h": 93.4
},
"luminance": 0.45383
}Semantic roles & 50–950 ramp
primary
#CCB258
secondary
#A8B3D7
accent
#6CDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D