#CCB762#CCB762
#CCB762 is a light, moderate yellow. Relative luminance 0.476; OKLCH L 78.0% C 0.108 H 95.8°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB762 |
|---|---|
| RGB | rgb(204, 183, 98) |
| HSL | hsl(48, 51%, 59%) |
| HSV | hsv(48, 52%, 80%) |
| CMYK | cmyk(0%, 10.3%, 52%, 20%) |
| CIE-LAB | lab(74.56, -3.45, 45.54) |
| CIE-LCH | lch(74.56, 45.67, 94.34°) |
| OKLab | oklab(77.96% -0.0109 0.1079) |
| OKLCH | oklch(77.96% 0.108 95.8) |
| XYZ | xyz(44.0414, 47.5880, 18.4184) |
| Luminance | 0.4759 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.16
Darkkhaki
#BDB76B
ΔE00 4.74
Tan (survey)
#D1B26F
ΔE00 4.95
Sand (survey)
#E2CA76
ΔE00 5.07
Sandy Brown
#C4A661
ΔE00 5.94
Sandstone
#C9AE74
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB762 #6277CC
analogous
#CC8262 #CCB762 #ACCC62
triadic
#CCB762 #62CCB7 #B762CC
tetradic
#CCB762 #62CC82 #6277CC #CC62AC
square
#CCB762 #62CC82 #6277CC #CC62AC
split-complementary
#CCB762 #62ACCC #8262CC
monochromatic
#88752C #B69D3B #CCB762 #DBCC90 #EAE1BE
Accessibility & contrast
On white
2.00
#CCB762 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.52
#CCB762 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB762
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB762 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB762 | 1.00 | 2.00 | 10.52 | 10.52 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B35A
Deuteranopia (green-blind)
#CCBA66
Tritanopia (blue-blind)
#DAACA3
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #ccb762; /* rgb */ color: rgb(204, 183, 98); /* oklch */ color: oklch(78.0% 0.108 95.8);
Tailwind
colors: {
custom: {
50: '#decc91',
500: '#ccb762',
950: '#000000',
},
}SCSS
$custom: #ccb762; $custom-light: #decc91; $custom-dark: #000000;
JSON
{
"hex": "#ccb762",
"rgb": {
"r": 204,
"g": 183,
"b": 98
},
"hsl": {
"h": 48.113,
"s": 50.962,
"l": 59.216
},
"oklch": {
"l": 0.77958,
"c": 0.10842,
"h": 95.8
},
"luminance": 0.47586
}Semantic roles & 50–950 ramp
primary
#CCB762
secondary
#B0B8DA
accent
#69DA4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E