#CFAF44#CFAF44
#CFAF44 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.3% C 0.129 H 92.3°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF44 |
|---|---|
| RGB | rgb(207, 175, 68) |
| HSL | hsl(46, 59%, 54%) |
| HSV | hsv(46, 67%, 81%) |
| CMYK | cmyk(0%, 15.5%, 67.1%, 18.8%) |
| CIE-LAB | lab(72.46, -0.12, 57.14) |
| CIE-LCH | lch(72.46, 57.14, 90.12°) |
| OKLab | oklab(76.26% -0.0051 0.129) |
| OKLCH | oklch(76.26% 0.129 92.3) |
| XYZ | xyz(42.1076, 44.3451, 11.8093) |
| Luminance | 0.4434 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.58
Desert
#CCAD60
ΔE00 4.45
Burnt Yellow
#D5AB09
ΔE00 4.50
Gold (survey)
#DBB40C
ΔE00 4.93
Brownish Yellow
#C9B003
ΔE00 5.09
Dark Yellow
#D5B60A
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF44 #4464CF
analogous
#CF6A44 #CFAF44 #AACF44
triadic
#CFAF44 #44CFAF #AF44CF
tetradic
#CFAF44 #44CF6A #4464CF #CF44AA
square
#CFAF44 #44CF6A #4464CF #CF44AA
split-complementary
#CFAF44 #44AACF #6A44CF
monochromatic
#79651F #AA8D2C #CFAF44 #DCC475 #E8D9A5
Accessibility & contrast
On white
2.13
#CFAF44 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#CFAF44 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF44
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF44 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF44 | 1.00 | 2.13 | 9.87 | 9.87 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC37
Deuteranopia (green-blind)
#C9B649
Tritanopia (blue-blind)
#DFA199
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfaf44; /* rgb */ color: rgb(207, 175, 68); /* oklch */ color: oklch(76.3% 0.129 92.3);
Tailwind
colors: {
custom: {
50: '#e1c67d',
500: '#cfaf44',
950: '#000000',
},
}SCSS
$custom: #cfaf44; $custom-light: #e1c67d; $custom-dark: #000000;
JSON
{
"hex": "#cfaf44",
"rgb": {
"r": 207,
"g": 175,
"b": 68
},
"hsl": {
"h": 46.187,
"s": 59.149,
"l": 53.922
},
"oklch": {
"l": 0.76262,
"c": 0.12905,
"h": 92.3
},
"luminance": 0.44343
}Semantic roles & 50–950 ramp
primary
#CFAF44
secondary
#9AA7D5
accent
#6AE245
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C