#CCB85F#CCB85F
#CCB85F is a light, moderate yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.112 H 96.9°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB85F |
|---|---|
| RGB | rgb(204, 184, 95) |
| HSL | hsl(49, 52%, 59%) |
| HSV | hsv(49, 53%, 80%) |
| CMYK | cmyk(0%, 9.8%, 53.4%, 20%) |
| CIE-LAB | lab(74.79, -4.23, 47.27) |
| CIE-LCH | lch(74.79, 47.46, 95.11°) |
| OKLab | oklab(78.13% -0.0135 0.1114) |
| OKLCH | oklch(78.13% 0.112 96.9) |
| XYZ | xyz(44.1094, 47.9464, 17.7554) |
| Luminance | 0.4794 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.72
Desert
#CCAD60
ΔE00 4.77
Sand (survey)
#E2CA76
ΔE00 5.05
Tan (survey)
#D1B26F
ΔE00 5.66
Sandy Brown
#C4A661
ΔE00 6.58
Sandstone
#C9AE74
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB85F #5F73CC
analogous
#CC815F #CCB85F #A9CC5F
triadic
#CCB85F #5FCCB8 #B85FCC
tetradic
#CCB85F #5FCC81 #5F73CC #CC5FA9
square
#CCB85F #5FCC81 #5F73CC #CC5FA9
split-complementary
#CCB85F #5FA9CC #815FCC
monochromatic
#86752B #B49E39 #CCB85F #DBCD8D #EAE1BC
Accessibility & contrast
On white
1.98
#CCB85F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.59
#CCB85F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB85F
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB85F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB85F | 1.00 | 1.98 | 10.59 | 10.59 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B457
Deuteranopia (green-blind)
#CDBB63
Tritanopia (blue-blind)
#DAADA4
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #ccb85f; /* rgb */ color: rgb(204, 184, 95); /* oklch */ color: oklch(78.1% 0.112 96.9);
Tailwind
colors: {
custom: {
50: '#decd8f',
500: '#ccb85f',
950: '#000000',
},
}SCSS
$custom: #ccb85f; $custom-light: #decd8f; $custom-dark: #000000;
JSON
{
"hex": "#ccb85f",
"rgb": {
"r": 204,
"g": 184,
"b": 95
},
"hsl": {
"h": 48.991,
"s": 51.659,
"l": 58.627
},
"oklch": {
"l": 0.78126,
"c": 0.11221,
"h": 96.9
},
"luminance": 0.47945
}Semantic roles & 50–950 ramp
primary
#CCB85F
secondary
#AEB6D9
accent
#67DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D