#CCB962#CCB962
#CCB962 is a light, moderate yellow. Relative luminance 0.484; OKLCH L 78.4% C 0.110 H 97.3°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB962 |
|---|---|
| RGB | rgb(204, 185, 98) |
| HSL | hsl(49, 51%, 59%) |
| HSV | hsv(49, 52%, 80%) |
| CMYK | cmyk(0%, 9.3%, 52%, 20%) |
| CIE-LAB | lab(75.09, -4.50, 46.16) |
| CIE-LCH | lch(75.09, 46.38, 95.57°) |
| OKLab | oklab(78.37% -0.014 0.1093) |
| OKLCH | oklch(78.37% 0.11 97.3) |
| XYZ | xyz(44.4569, 48.4189, 18.5569) |
| Luminance | 0.4842 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.38
Sand (survey)
#E2CA76
ΔE00 4.85
Desert
#CCAD60
ΔE00 4.97
Tan (survey)
#D1B26F
ΔE00 5.68
Sandy Brown
#C4A661
ΔE00 6.73
Sandstone
#C9AE74
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB962 #6275CC
analogous
#CC8462 #CCB962 #AACC62
triadic
#CCB962 #62CCB9 #B962CC
tetradic
#CCB962 #62CC84 #6275CC #CC62AA
square
#CCB962 #62CC84 #6275CC #CC62AA
split-complementary
#CCB962 #62AACC #8462CC
monochromatic
#88772C #B6A03B #CCB962 #DBCE90 #EAE2BE
Accessibility & contrast
On white
1.97
#CCB962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.68
#CCB962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB962
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB962 | 1.00 | 1.97 | 10.68 | 10.68 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B55A
Deuteranopia (green-blind)
#CDBC66
Tritanopia (blue-blind)
#DAAEA5
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #ccb962; /* rgb */ color: rgb(204, 185, 98); /* oklch */ color: oklch(78.4% 0.110 97.3);
Tailwind
colors: {
custom: {
50: '#decd91',
500: '#ccb962',
950: '#000000',
},
}SCSS
$custom: #ccb962; $custom-light: #decd91; $custom-dark: #000000;
JSON
{
"hex": "#ccb962",
"rgb": {
"r": 204,
"g": 185,
"b": 98
},
"hsl": {
"h": 49.245,
"s": 50.962,
"l": 59.216
},
"oklch": {
"l": 0.78372,
"c": 0.11014,
"h": 97.3
},
"luminance": 0.48417
}Semantic roles & 50–950 ramp
primary
#CCB962
secondary
#B0B8DA
accent
#67DA4D
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E