#CCB562#CCB562
#CCB562 is a light, moderate yellow. Relative luminance 0.468; OKLCH L 77.5% C 0.107 H 94.2°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB562 |
|---|---|
| RGB | rgb(204, 181, 98) |
| HSL | hsl(47, 51%, 59%) |
| HSV | hsv(47, 52%, 80%) |
| CMYK | cmyk(0%, 11.3%, 52%, 20%) |
| CIE-LAB | lab(74.04, -2.40, 44.91) |
| CIE-LCH | lch(74.04, 44.97, 93.06°) |
| OKLab | oklab(77.54% -0.0079 0.1065) |
| OKLCH | oklch(77.54% 0.107 94.2) |
| XYZ | xyz(43.6319, 46.7688, 18.2819) |
| Luminance | 0.4677 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.32
Tan (survey)
#D1B26F
ΔE00 4.23
Sandy Brown
#C4A661
ΔE00 5.16
Darkkhaki
#BDB76B
ΔE00 5.21
Sandstone
#C9AE74
ΔE00 5.39
Sand (survey)
#E2CA76
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB562 #6279CC
analogous
#CC8062 #CCB562 #AECC62
triadic
#CCB562 #62CCB5 #B562CC
tetradic
#CCB562 #62CC80 #6279CC #CC62AE
square
#CCB562 #62CC80 #6279CC #CC62AE
split-complementary
#CCB562 #62AECC #8062CC
monochromatic
#88742C #B69B3B #CCB562 #DBCB90 #EAE1BE
Accessibility & contrast
On white
2.03
#CCB562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.35
#CCB562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB562
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB562 | 1.00 | 2.03 | 10.35 | 10.35 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B25B
Deuteranopia (green-blind)
#CAB965
Tritanopia (blue-blind)
#DAAAA2
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #ccb562; /* rgb */ color: rgb(204, 181, 98); /* oklch */ color: oklch(77.5% 0.107 94.2);
Tailwind
colors: {
custom: {
50: '#deca90',
500: '#ccb562',
950: '#000000',
},
}SCSS
$custom: #ccb562; $custom-light: #deca90; $custom-dark: #000000;
JSON
{
"hex": "#ccb562",
"rgb": {
"r": 204,
"g": 181,
"b": 98
},
"hsl": {
"h": 46.981,
"s": 50.962,
"l": 59.216
},
"oklch": {
"l": 0.77544,
"c": 0.10679,
"h": 94.2
},
"luminance": 0.46767
}Semantic roles & 50–950 ramp
primary
#CCB562
secondary
#B0B9DA
accent
#6CDA4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E