#CCB95F#CCB95F
#CCB95F is a light, moderate yellow. Relative luminance 0.484; OKLCH L 78.3% C 0.113 H 97.6°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB95F |
|---|---|
| RGB | rgb(204, 185, 95) |
| HSL | hsl(50, 52%, 59%) |
| HSV | hsv(50, 53%, 80%) |
| CMYK | cmyk(0%, 9.3%, 53.4%, 20%) |
| CIE-LAB | lab(75.05, -4.75, 47.58) |
| CIE-LCH | lch(75.05, 47.82, 95.70°) |
| OKLab | oklab(78.33% -0.015 0.1121) |
| OKLCH | oklch(78.33% 0.113 97.6) |
| XYZ | xyz(44.3179, 48.3633, 17.8249) |
| Luminance | 0.4836 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.58
Sand (survey)
#E2CA76
ΔE00 4.97
Desert
#CCAD60
ΔE00 5.17
Tan (survey)
#D1B26F
ΔE00 6.02
Sandy Brown
#C4A661
ΔE00 6.96
Sandstone
#C9AE74
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB95F #5F72CC
analogous
#CC825F #CCB95F #A8CC5F
triadic
#CCB95F #5FCCB9 #B95FCC
tetradic
#CCB95F #5FCC82 #5F72CC #CC5FA8
square
#CCB95F #5FCC82 #5F72CC #CC5FA8
split-complementary
#CCB95F #5FA8CC #825FCC
monochromatic
#86762B #B49F39 #CCB95F #DBCD8D #EAE2BC
Accessibility & contrast
On white
1.97
#CCB95F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.67
#CCB95F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB95F
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB95F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB95F | 1.00 | 1.97 | 10.67 | 10.67 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B557
Deuteranopia (green-blind)
#CDBC63
Tritanopia (blue-blind)
#DAAEA4
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #ccb95f; /* rgb */ color: rgb(204, 185, 95); /* oklch */ color: oklch(78.3% 0.113 97.6);
Tailwind
colors: {
custom: {
50: '#decd8f',
500: '#ccb95f',
950: '#000000',
},
}SCSS
$custom: #ccb95f; $custom-light: #decd8f; $custom-dark: #000000;
JSON
{
"hex": "#ccb95f",
"rgb": {
"r": 204,
"g": 185,
"b": 95
},
"hsl": {
"h": 49.541,
"s": 51.659,
"l": 58.627
},
"oklch": {
"l": 0.78333,
"c": 0.11306,
"h": 97.6
},
"luminance": 0.48362
}Semantic roles & 50–950 ramp
primary
#CCB95F
secondary
#AEB5D9
accent
#66DB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D