#CCB75A#CCB75A
#CCB75A is a light, moderate yellow. Relative luminance 0.474; OKLCH L 77.9% C 0.116 H 96.8°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB75A |
|---|---|
| RGB | rgb(204, 183, 90) |
| HSL | hsl(49, 53%, 58%) |
| HSV | hsv(49, 56%, 80%) |
| CMYK | cmyk(0%, 10.3%, 55.9%, 20%) |
| CIE-LAB | lab(74.47, -4.11, 49.30) |
| CIE-LCH | lch(74.47, 49.47, 94.77°) |
| OKLab | oklab(77.86% -0.0138 0.1153) |
| OKLCH | oklch(77.86% 0.116 96.8) |
| XYZ | xyz(43.6824, 47.4444, 16.5276) |
| Luminance | 0.4744 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.78
Darkkhaki
#BDB76B
ΔE00 5.22
Sand (survey)
#E2CA76
ΔE00 5.38
Tan (survey)
#D1B26F
ΔE00 5.92
Mustard
#DBB42C
ΔE00 6.52
Sandy Brown
#C4A661
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB75A #5A6FCC
analogous
#CC7E5A #CCB75A #A8CC5A
triadic
#CCB75A #5ACCB7 #B75ACC
tetradic
#CCB75A #5ACC7E #5A6FCC #CC5AA8
square
#CCB75A #5ACC7E #5A6FCC #CC5AA8
split-complementary
#CCB75A #5AA8CC #7E5ACC
monochromatic
#837229 #B29B37 #CCB75A #DACB89 #E9E0B7
Accessibility & contrast
On white
2.00
#CCB75A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.49
#CCB75A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB75A
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB75A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB75A | 1.00 | 2.00 | 10.49 | 10.49 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B351
Deuteranopia (green-blind)
#CCBA5E
Tritanopia (blue-blind)
#DAABA2
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #ccb75a; /* rgb */ color: rgb(204, 183, 90); /* oklch */ color: oklch(77.9% 0.116 96.8);
Tailwind
colors: {
custom: {
50: '#decc8b',
500: '#ccb75a',
950: '#000000',
},
}SCSS
$custom: #ccb75a; $custom-light: #decc8b; $custom-dark: #000000;
JSON
{
"hex": "#ccb75a",
"rgb": {
"r": 204,
"g": 183,
"b": 90
},
"hsl": {
"h": 48.947,
"s": 52.778,
"l": 57.647
},
"oklch": {
"l": 0.77856,
"c": 0.1161,
"h": 96.8
},
"luminance": 0.47443
}Semantic roles & 50–950 ramp
primary
#CCB75A
secondary
#AAB2D8
accent
#66DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D