#CFAF4D#CFAF4D
#CFAF4D is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.122 H 91.1°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF4D |
|---|---|
| RGB | rgb(207, 175, 77) |
| HSL | hsl(45, 58%, 56%) |
| HSV | hsv(45, 63%, 81%) |
| CMYK | cmyk(0%, 15.5%, 62.8%, 18.8%) |
| CIE-LAB | lab(72.54, 0.43, 53.25) |
| CIE-LCH | lch(72.54, 53.25, 89.54°) |
| OKLab | oklab(76.35% -0.0024 0.1221) |
| OKLCH | oklch(76.35% 0.122 91.1) |
| XYZ | xyz(42.4037, 44.4635, 13.3686) |
| Luminance | 0.4446 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.29
Mustard
#DBB42C
ΔE00 4.47
Sandy Brown
#C4A661
ΔE00 5.24
Tan (survey)
#D1B26F
ΔE00 5.28
Burnt Yellow
#D5AB09
ΔE00 5.44
Gold (survey)
#DBB40C
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF4D #4D6DCF
analogous
#CF6E4D #CFAF4D #AECF4D
triadic
#CFAF4D #4DCFAF #AF4DCF
tetradic
#CFAF4D #4DCF6E #4D6DCF #CF4DAE
square
#CFAF4D #4DCF6E #4D6DCF #CF4DAE
split-complementary
#CFAF4D #4DAECF #6E4DCF
monochromatic
#7F6822 #AF902F #CFAF4D #DCC57D #E9DAAD
Accessibility & contrast
On white
2.12
#CFAF4D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#CFAF4D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF4D
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF4D | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AD42
Deuteranopia (green-blind)
#C9B651
Tritanopia (blue-blind)
#DFA29A
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfaf4d; /* rgb */ color: rgb(207, 175, 77); /* oklch */ color: oklch(76.3% 0.122 91.1);
Tailwind
colors: {
custom: {
50: '#e1c683',
500: '#cfaf4d',
950: '#000000',
},
}SCSS
$custom: #cfaf4d; $custom-light: #e1c683; $custom-dark: #000000;
JSON
{
"hex": "#cfaf4d",
"rgb": {
"r": 207,
"g": 175,
"b": 77
},
"hsl": {
"h": 45.231,
"s": 57.522,
"l": 55.686
},
"oklch": {
"l": 0.76349,
"c": 0.12208,
"h": 91.1
},
"luminance": 0.44461
}Semantic roles & 50–950 ramp
primary
#CFAF4D
secondary
#A1AED7
accent
#6DE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C