#CFAF3F#CFAF3F
#CFAF3F is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.2% C 0.133 H 92.8°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF3F |
|---|---|
| RGB | rgb(207, 175, 63) |
| HSL | hsl(47, 60%, 53%) |
| HSV | hsv(47, 70%, 81%) |
| CMYK | cmyk(0%, 15.5%, 69.6%, 18.8%) |
| CIE-LAB | lab(72.42, -0.40, 59.19) |
| CIE-LCH | lch(72.42, 59.19, 90.38°) |
| OKLab | oklab(76.22% -0.0065 0.1324) |
| OKLCH | oklch(76.22% 0.133 92.8) |
| XYZ | xyz(41.9615, 44.2866, 11.0396) |
| Luminance | 0.4428 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.19
Burnt Yellow
#D5AB09
ΔE00 4.07
Gold (survey)
#DBB40C
ΔE00 4.44
Brownish Yellow
#C9B003
ΔE00 4.54
Dark Yellow
#D5B60A
ΔE00 4.57
Mustard (survey)
#CEB301
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF3F #3F5FCF
analogous
#CF673F #CFAF3F #A7CF3F
triadic
#CFAF3F #3FCFAF #AF3FCF
tetradic
#CFAF3F #3FCF67 #3F5FCF #CF3FA7
square
#CFAF3F #3FCF67 #3F5FCF #CF3FA7
split-complementary
#CFAF3F #3FA7CF #673FCF
monochromatic
#76621E #A78B2A #CFAF3F #DBC370 #E7D8A1
Accessibility & contrast
On white
2.13
#CFAF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#CFAF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF3F
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF3F | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC30
Deuteranopia (green-blind)
#C9B645
Tritanopia (blue-blind)
#DFA198
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfaf3f; /* rgb */ color: rgb(207, 175, 63); /* oklch */ color: oklch(76.2% 0.133 92.8);
Tailwind
colors: {
custom: {
50: '#e1c67a',
500: '#cfaf3f',
950: '#000000',
},
}SCSS
$custom: #cfaf3f; $custom-light: #e1c67a; $custom-dark: #000000;
JSON
{
"hex": "#cfaf3f",
"rgb": {
"r": 207,
"g": 175,
"b": 63
},
"hsl": {
"h": 46.667,
"s": 60,
"l": 52.941
},
"oklch": {
"l": 0.76219,
"c": 0.1326,
"h": 92.8
},
"luminance": 0.44284
}Semantic roles & 50–950 ramp
primary
#CFAF3F
secondary
#96A4D4
accent
#68E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C