#CCB25B#CCB25B
#CCB25B is a light, moderate yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.111 H 93.0°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB25B |
|---|---|
| RGB | rgb(204, 178, 91) |
| HSL | hsl(46, 53%, 58%) |
| HSV | hsv(46, 55%, 80%) |
| CMYK | cmyk(0%, 12.7%, 55.4%, 20%) |
| CIE-LAB | lab(73.18, -1.41, 47.31) |
| CIE-LCH | lch(73.18, 47.33, 91.70°) |
| OKLab | oklab(76.83% -0.0058 0.1111) |
| OKLCH | oklch(76.83% 0.111 93) |
| XYZ | xyz(42.7122, 45.4355, 16.4156) |
| Luminance | 0.4543 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.70
Tan (survey)
#D1B26F
ΔE00 4.24
Sandy Brown
#C4A661
ΔE00 4.68
Sandstone
#C9AE74
ΔE00 5.57
Sand (survey)
#E2CA76
ΔE00 6.16
Sand Brown
#CBA560
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB25B #5B75CC
analogous
#CC7A5B #CCB25B #ADCC5B
triadic
#CCB25B #5BCCB2 #B25BCC
tetradic
#CCB25B #5BCC7A #5B75CC #CC5BAD
square
#CCB25B #5BCC7A #5B75CC #CC5BAD
split-complementary
#CCB25B #5BADCC #7A5BCC
monochromatic
#846F29 #B29637 #CCB25B #DBC88A #E9DEB8
Accessibility & contrast
On white
2.08
#CCB25B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.09
#CCB25B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB25B
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB25B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB25B | 1.00 | 2.08 | 10.09 | 10.09 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AF53
Deuteranopia (green-blind)
#C9B75F
Tritanopia (blue-blind)
#DBA69E
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #ccb25b; /* rgb */ color: rgb(204, 178, 91); /* oklch */ color: oklch(76.8% 0.111 93.0);
Tailwind
colors: {
custom: {
50: '#dec88c',
500: '#ccb25b',
950: '#000000',
},
}SCSS
$custom: #ccb25b; $custom-light: #dec88c; $custom-dark: #000000;
JSON
{
"hex": "#ccb25b",
"rgb": {
"r": 204,
"g": 178,
"b": 91
},
"hsl": {
"h": 46.195,
"s": 52.558,
"l": 57.843
},
"oklch": {
"l": 0.76835,
"c": 0.11122,
"h": 93
},
"luminance": 0.45433
}Semantic roles & 50–950 ramp
primary
#CCB25B
secondary
#ABB5D8
accent
#6DDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D