#CCBA62#CCBA62
#CCBA62 is a light, moderate yellow. Relative luminance 0.488; OKLCH L 78.6% C 0.111 H 98.0°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CCBA62 |
|---|---|
| RGB | rgb(204, 186, 98) |
| HSL | hsl(50, 51%, 59%) |
| HSV | hsv(50, 52%, 80%) |
| CMYK | cmyk(0%, 8.8%, 52%, 20%) |
| CIE-LAB | lab(75.35, -5.02, 46.48) |
| CIE-LCH | lch(75.35, 46.75, 96.17°) |
| OKLab | oklab(78.58% -0.0155 0.1099) |
| OKLCH | oklch(78.58% 0.111 98) |
| XYZ | xyz(44.6668, 48.8388, 18.6269) |
| Luminance | 0.4884 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.25
Sand (survey)
#E2CA76
ΔE00 4.79
Desert
#CCAD60
ΔE00 5.38
Tan (survey)
#D1B26F
ΔE00 6.05
Sandstone
#C9AE74
ΔE00 7.08
Sandy Brown
#C4A661
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCBA62 #6274CC
analogous
#CC8562 #CCBA62 #A9CC62
triadic
#CCBA62 #62CCBA #BA62CC
tetradic
#CCBA62 #62CC85 #6274CC #CC62A9
square
#CCBA62 #62CC85 #6274CC #CC62A9
split-complementary
#CCBA62 #62A9CC #8562CC
monochromatic
#88782C #B6A13B #CCBA62 #DBCE90 #EAE3BE
Accessibility & contrast
On white
1.95
#CCBA62 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.77
#CCBA62 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCBA62
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCBA62 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCBA62 | 1.00 | 1.95 | 10.77 | 10.77 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B65A
Deuteranopia (green-blind)
#CEBC66
Tritanopia (blue-blind)
#DAAFA6
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #ccba62; /* rgb */ color: rgb(204, 186, 98); /* oklch */ color: oklch(78.6% 0.111 98.0);
Tailwind
colors: {
custom: {
50: '#dece91',
500: '#ccba62',
950: '#000000',
},
}SCSS
$custom: #ccba62; $custom-light: #dece91; $custom-dark: #000000;
JSON
{
"hex": "#ccba62",
"rgb": {
"r": 204,
"g": 186,
"b": 98
},
"hsl": {
"h": 49.811,
"s": 50.962,
"l": 59.216
},
"oklch": {
"l": 0.7858,
"c": 0.11101,
"h": 98
},
"luminance": 0.48837
}Semantic roles & 50–950 ramp
primary
#CCBA62
secondary
#B0B7DA
accent
#65DA4D
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E