#CCAF45#CCAF45
#CCAF45 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.0% C 0.128 H 93.7°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAF45 |
|---|---|
| RGB | rgb(204, 175, 69) |
| HSL | hsl(47, 57%, 54%) |
| HSV | hsv(47, 66%, 80%) |
| CMYK | cmyk(0%, 14.2%, 66.2%, 20%) |
| CIE-LAB | lab(72.18, -1.36, 56.33) |
| CIE-LCH | lch(72.18, 56.34, 91.38°) |
| OKLab | oklab(75.98% -0.0083 0.1275) |
| OKLCH | oklch(75.98% 0.128 93.7) |
| XYZ | xyz(41.3080, 43.9292, 11.9325) |
| Luminance | 0.4393 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.14
Desert
#CCAD60
ΔE00 4.52
Brownish Yellow
#C9B003
ΔE00 4.86
Burnt Yellow
#D5AB09
ΔE00 5.06
Mustard (survey)
#CEB301
ΔE00 5.06
Dark Yellow
#D5B60A
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAF45 #4562CC
analogous
#CC6B45 #CCAF45 #A5CC45
triadic
#CCAF45 #45CCAF #AF45CC
tetradic
#CCAF45 #45CC6B #4562CC #CC45A5
square
#CCAF45 #45CC6B #4562CC #CC45A5
split-complementary
#CCAF45 #45A5CC #6B45CC
monochromatic
#766420 #A68C2E #CCAF45 #D9C475 #E6D8A5
Accessibility & contrast
On white
2.15
#CCAF45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#CCAF45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAF45
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAF45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAF45 | 1.00 | 2.15 | 9.79 | 9.79 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC38
Deuteranopia (green-blind)
#C8B54A
Tritanopia (blue-blind)
#DCA299
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ccaf45; /* rgb */ color: rgb(204, 175, 69); /* oklch */ color: oklch(76.0% 0.128 93.7);
Tailwind
colors: {
custom: {
50: '#dfc67e',
500: '#ccaf45',
950: '#000000',
},
}SCSS
$custom: #ccaf45; $custom-light: #dfc67e; $custom-dark: #000000;
JSON
{
"hex": "#ccaf45",
"rgb": {
"r": 204,
"g": 175,
"b": 69
},
"hsl": {
"h": 47.111,
"s": 56.962,
"l": 53.529
},
"oklch": {
"l": 0.75979,
"c": 0.12776,
"h": 93.7
},
"luminance": 0.43927
}Semantic roles & 50–950 ramp
primary
#CCAF45
secondary
#99A6D3
accent
#68E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C