#CCB75F#CCB75F
#CCB75F is a light, moderate yellow. Relative luminance 0.475; OKLCH L 77.9% C 0.111 H 96.2°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB75F |
|---|---|
| RGB | rgb(204, 183, 95) |
| HSL | hsl(48, 52%, 59%) |
| HSV | hsv(48, 53%, 80%) |
| CMYK | cmyk(0%, 10.3%, 53.4%, 20%) |
| CIE-LAB | lab(74.53, -3.71, 46.96) |
| CIE-LCH | lch(74.53, 47.11, 94.51°) |
| OKLab | oklab(77.92% -0.012 0.1107) |
| OKLCH | oklch(77.92% 0.111 96.2) |
| XYZ | xyz(43.9024, 47.5324, 17.6864) |
| Luminance | 0.4753 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.37
Darkkhaki
#BDB76B
ΔE00 4.89
Sand (survey)
#E2CA76
ΔE00 5.16
Tan (survey)
#D1B26F
ΔE00 5.31
Sandy Brown
#C4A661
ΔE00 6.19
Sandstone
#C9AE74
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB75F #5F74CC
analogous
#CC805F #CCB75F #AACC5F
triadic
#CCB75F #5FCCB7 #B75FCC
tetradic
#CCB75F #5FCC80 #5F74CC #CC5FAA
square
#CCB75F #5FCC80 #5F74CC #CC5FAA
split-complementary
#CCB75F #5FAACC #805FCC
monochromatic
#86742B #B49D39 #CCB75F #DBCC8D #EAE1BC
Accessibility & contrast
On white
2.00
#CCB75F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.51
#CCB75F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB75F
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB75F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB75F | 1.00 | 2.00 | 10.51 | 10.51 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B357
Deuteranopia (green-blind)
#CCBA63
Tritanopia (blue-blind)
#DAACA3
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #ccb75f; /* rgb */ color: rgb(204, 183, 95); /* oklch */ color: oklch(77.9% 0.111 96.2);
Tailwind
colors: {
custom: {
50: '#decc8f',
500: '#ccb75f',
950: '#000000',
},
}SCSS
$custom: #ccb75f; $custom-light: #decc8f; $custom-dark: #000000;
JSON
{
"hex": "#ccb75f",
"rgb": {
"r": 204,
"g": 183,
"b": 95
},
"hsl": {
"h": 48.44,
"s": 51.659,
"l": 58.627
},
"oklch": {
"l": 0.77918,
"c": 0.11136,
"h": 96.2
},
"luminance": 0.47531
}Semantic roles & 50–950 ramp
primary
#CCB75F
secondary
#AEB6D9
accent
#68DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D