#CCB862#CCB862
#CCB862 is a light, moderate yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.109 H 96.5°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB862 |
|---|---|
| RGB | rgb(204, 184, 98) |
| HSL | hsl(49, 51%, 59%) |
| HSV | hsv(49, 52%, 80%) |
| CMYK | cmyk(0%, 9.8%, 52%, 20%) |
| CIE-LAB | lab(74.83, -3.98, 45.85) |
| CIE-LCH | lch(74.83, 46.02, 94.96°) |
| OKLab | oklab(78.16% -0.0124 0.1086) |
| OKLCH | oklch(78.16% 0.109 96.5) |
| XYZ | xyz(44.2484, 48.0020, 18.4874) |
| Luminance | 0.4800 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.55
Desert
#CCAD60
ΔE00 4.57
Sand (survey)
#E2CA76
ΔE00 4.95
Tan (survey)
#D1B26F
ΔE00 5.32
Sandy Brown
#C4A661
ΔE00 6.34
Sandstone
#C9AE74
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB862 #6276CC
analogous
#CC8362 #CCB862 #ABCC62
triadic
#CCB862 #62CCB8 #B862CC
tetradic
#CCB862 #62CC83 #6276CC #CC62AB
square
#CCB862 #62CC83 #6276CC #CC62AB
split-complementary
#CCB862 #62ABCC #8362CC
monochromatic
#88762C #B69F3B #CCB862 #DBCD90 #EAE2BE
Accessibility & contrast
On white
1.98
#CCB862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.60
#CCB862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB862
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB862 | 1.00 | 1.98 | 10.60 | 10.60 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B45A
Deuteranopia (green-blind)
#CCBB66
Tritanopia (blue-blind)
#DAADA4
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #ccb862; /* rgb */ color: rgb(204, 184, 98); /* oklch */ color: oklch(78.2% 0.109 96.5);
Tailwind
colors: {
custom: {
50: '#decd91',
500: '#ccb862',
950: '#000000',
},
}SCSS
$custom: #ccb862; $custom-light: #decd91; $custom-dark: #000000;
JSON
{
"hex": "#ccb862",
"rgb": {
"r": 204,
"g": 184,
"b": 98
},
"hsl": {
"h": 48.679,
"s": 50.962,
"l": 59.216
},
"oklch": {
"l": 0.78165,
"c": 0.10927,
"h": 96.5
},
"luminance": 0.48
}Semantic roles & 50–950 ramp
primary
#CCB862
secondary
#B0B8DA
accent
#68DA4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E