#CFAF4C#CFAF4C
#CFAF4C is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.123 H 91.3°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF4C |
|---|---|
| RGB | rgb(207, 175, 76) |
| HSL | hsl(45, 58%, 55%) |
| HSV | hsv(45, 63%, 81%) |
| CMYK | cmyk(0%, 15.5%, 63.3%, 18.8%) |
| CIE-LAB | lab(72.53, 0.36, 53.69) |
| CIE-LCH | lch(72.53, 53.69, 89.61°) |
| OKLab | oklab(76.34% -0.0027 0.1229) |
| OKLCH | oklch(76.34% 0.123 91.3) |
| XYZ | xyz(42.3686, 44.4495, 13.1840) |
| Luminance | 0.4445 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.43
Mustard
#DBB42C
ΔE00 4.36
Burnt Yellow
#D5AB09
ΔE00 5.32
Sandy Brown
#C4A661
ΔE00 5.36
Tan (survey)
#D1B26F
ΔE00 5.42
Gold (survey)
#DBB40C
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF4C #4C6CCF
analogous
#CF6E4C #CFAF4C #ADCF4C
triadic
#CFAF4C #4CCFAF #AF4CCF
tetradic
#CFAF4C #4CCF6E #4C6CCF #CF4CAD
square
#CFAF4C #4CCF6E #4C6CCF #CF4CAD
split-complementary
#CFAF4C #4CADCF #6E4CCF
monochromatic
#7F6822 #AF902F #CFAF4C #DCC57C #E9DAAD
Accessibility & contrast
On white
2.12
#CFAF4C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#CFAF4C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF4C
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF4C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF4C | 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)
#C1AD41
Deuteranopia (green-blind)
#C9B650
Tritanopia (blue-blind)
#DFA29A
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfaf4c; /* rgb */ color: rgb(207, 175, 76); /* oklch */ color: oklch(76.3% 0.123 91.3);
Tailwind
colors: {
custom: {
50: '#e1c682',
500: '#cfaf4c',
950: '#000000',
},
}SCSS
$custom: #cfaf4c; $custom-light: #e1c682; $custom-dark: #000000;
JSON
{
"hex": "#cfaf4c",
"rgb": {
"r": 207,
"g": 175,
"b": 76
},
"hsl": {
"h": 45.344,
"s": 57.709,
"l": 55.49
},
"oklch": {
"l": 0.76339,
"c": 0.12289,
"h": 91.3
},
"luminance": 0.44447
}Semantic roles & 50–950 ramp
primary
#CFAF4C
secondary
#A0ADD7
accent
#6CE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C