#CCB35F#CCB35F
#CCB35F is a light, moderate yellow. Relative luminance 0.459; OKLCH L 77.1% C 0.108 H 93.1°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB35F |
|---|---|
| RGB | rgb(204, 179, 95) |
| HSL | hsl(46, 52%, 59%) |
| HSV | hsv(46, 53%, 80%) |
| CMYK | cmyk(0%, 12.3%, 53.4%, 20%) |
| CIE-LAB | lab(73.48, -1.61, 45.72) |
| CIE-LCH | lch(73.48, 45.75, 92.01°) |
| OKLab | oklab(77.09% -0.0059 0.108) |
| OKLCH | oklch(77.09% 0.108 93.1) |
| XYZ | xyz(43.0891, 45.9058, 17.4153) |
| Luminance | 0.4590 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.71
Tan (survey)
#D1B26F
ΔE00 3.96
Sandy Brown
#C4A661
ΔE00 4.65
Sandstone
#C9AE74
ΔE00 5.23
Darkkhaki
#BDB76B
ΔE00 5.83
Sand (survey)
#E2CA76
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB35F #5F78CC
analogous
#CC7C5F #CCB35F #AECC5F
triadic
#CCB35F #5FCCB3 #B35FCC
tetradic
#CCB35F #5FCC7C #5F78CC #CC5FAE
square
#CCB35F #5FCC7C #5F78CC #CC5FAE
split-complementary
#CCB35F #5FAECC #7C5FCC
monochromatic
#86712B #B49839 #CCB35F #DBC98D #EADFBC
Accessibility & contrast
On white
2.06
#CCB35F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.18
#CCB35F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB35F
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB35F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB35F | 1.00 | 2.06 | 10.18 | 10.18 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B057
Deuteranopia (green-blind)
#C9B862
Tritanopia (blue-blind)
#DAA8A0
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #ccb35f; /* rgb */ color: rgb(204, 179, 95); /* oklch */ color: oklch(77.1% 0.108 93.1);
Tailwind
colors: {
custom: {
50: '#dec98e',
500: '#ccb35f',
950: '#000000',
},
}SCSS
$custom: #ccb35f; $custom-light: #dec98e; $custom-dark: #000000;
JSON
{
"hex": "#ccb35f",
"rgb": {
"r": 204,
"g": 179,
"b": 95
},
"hsl": {
"h": 46.239,
"s": 51.659,
"l": 58.627
},
"oklch": {
"l": 0.77093,
"c": 0.10816,
"h": 93.1
},
"luminance": 0.45904
}Semantic roles & 50–950 ramp
primary
#CCB35F
secondary
#AEB8D9
accent
#6DDB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D