#CCB259#CCB259
#CCB259 is a light, moderate yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.113 H 93.3°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB259 |
|---|---|
| RGB | rgb(204, 178, 89) |
| HSL | hsl(46, 53%, 57%) |
| HSV | hsv(46, 56%, 80%) |
| CMYK | cmyk(0%, 12.7%, 56.4%, 20%) |
| CIE-LAB | lab(73.16, -1.57, 48.25) |
| CIE-LCH | lch(73.16, 48.27, 91.86°) |
| OKLab | oklab(76.81% -0.0065 0.1129) |
| OKLCH | oklch(76.81% 0.113 93.3) |
| XYZ | xyz(42.6271, 45.4015, 15.9673) |
| Luminance | 0.4540 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.92
Tan (survey)
#D1B26F
ΔE00 4.53
Sandy Brown
#C4A661
ΔE00 4.90
Sandstone
#C9AE74
ΔE00 5.88
Mustard
#DBB42C
ΔE00 6.07
Sand (survey)
#E2CA76
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB259 #5973CC
analogous
#CC7959 #CCB259 #ACCC59
triadic
#CCB259 #59CCB2 #B259CC
tetradic
#CCB259 #59CC79 #5973CC #CC59AC
square
#CCB259 #59CC79 #5973CC #CC59AC
split-complementary
#CCB259 #59ACCC #7959CC
monochromatic
#836E28 #B19636 #CCB259 #DAC888 #E9DDB7
Accessibility & contrast
On white
2.08
#CCB259 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.08
#CCB259 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB259
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB259 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB259 | 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)
#C2AF51
Deuteranopia (green-blind)
#C9B75D
Tritanopia (blue-blind)
#DBA69E
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #ccb259; /* rgb */ color: rgb(204, 178, 89); /* oklch */ color: oklch(76.8% 0.113 93.3);
Tailwind
colors: {
custom: {
50: '#dec88a',
500: '#ccb259',
950: '#000000',
},
}SCSS
$custom: #ccb259; $custom-light: #dec88a; $custom-dark: #000000;
JSON
{
"hex": "#ccb259",
"rgb": {
"r": 204,
"g": 178,
"b": 89
},
"hsl": {
"h": 46.435,
"s": 52.995,
"l": 57.451
},
"oklch": {
"l": 0.76811,
"c": 0.11308,
"h": 93.3
},
"luminance": 0.45399
}Semantic roles & 50–950 ramp
primary
#CCB259
secondary
#A9B4D8
accent
#6CDC4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D