#CFAF43#CFAF43
#CFAF43 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.3% C 0.130 H 92.4°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF43 |
|---|---|
| RGB | rgb(207, 175, 67) |
| HSL | hsl(46, 59%, 54%) |
| HSV | hsv(46, 68%, 81%) |
| CMYK | cmyk(0%, 15.5%, 67.6%, 18.8%) |
| CIE-LAB | lab(72.45, -0.18, 57.55) |
| CIE-LCH | lch(72.45, 57.55, 90.18°) |
| OKLab | oklab(76.25% -0.0054 0.1297) |
| OKLCH | oklch(76.25% 0.13 92.4) |
| XYZ | xyz(42.0774, 44.3329, 11.6499) |
| Luminance | 0.4433 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.49
Burnt Yellow
#D5AB09
ΔE00 4.41
Desert
#CCAD60
ΔE00 4.57
Gold (survey)
#DBB40C
ΔE00 4.83
Brownish Yellow
#C9B003
ΔE00 4.98
Dark Yellow
#D5B60A
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF43 #4363CF
analogous
#CF6943 #CFAF43 #A9CF43
triadic
#CFAF43 #43CFAF #AF43CF
tetradic
#CFAF43 #43CF69 #4363CF #CF43A9
square
#CFAF43 #43CF69 #4363CF #CF43A9
split-complementary
#CFAF43 #43A9CF #6943CF
monochromatic
#79641F #AA8D2B #CFAF43 #DBC474 #E8D8A5
Accessibility & contrast
On white
2.13
#CFAF43 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#CFAF43 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF43
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF43 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF43 | 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)
#C1AC35
Deuteranopia (green-blind)
#C9B648
Tritanopia (blue-blind)
#DFA199
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfaf43; /* rgb */ color: rgb(207, 175, 67); /* oklch */ color: oklch(76.3% 0.130 92.4);
Tailwind
colors: {
custom: {
50: '#e1c67d',
500: '#cfaf43',
950: '#000000',
},
}SCSS
$custom: #cfaf43; $custom-light: #e1c67d; $custom-dark: #000000;
JSON
{
"hex": "#cfaf43",
"rgb": {
"r": 207,
"g": 175,
"b": 67
},
"hsl": {
"h": 46.286,
"s": 59.322,
"l": 53.725
},
"oklch": {
"l": 0.76253,
"c": 0.12978,
"h": 92.4
},
"luminance": 0.44331
}Semantic roles & 50–950 ramp
primary
#CFAF43
secondary
#99A7D5
accent
#69E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C