#CFAD42#CFAD42
#CFAD42 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.8% C 0.129 H 91.2°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAD42 |
|---|---|
| RGB | rgb(207, 173, 66) |
| HSL | hsl(46, 59%, 54%) |
| HSV | hsv(46, 68%, 81%) |
| CMYK | cmyk(0%, 16.4%, 68.1%, 18.8%) |
| CIE-LAB | lab(71.93, 0.82, 57.43) |
| CIE-LCH | lch(71.93, 57.44, 89.18°) |
| OKLab | oklab(75.84% -0.0026 0.1292) |
| OKLCH | oklch(75.84% 0.129 91.2) |
| XYZ | xyz(41.6612, 43.5483, 11.3645) |
| Luminance | 0.4355 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.62
Burnt Yellow
#D5AB09
ΔE00 4.20
Desert
#CCAD60
ΔE00 4.37
Gold (survey)
#DBB40C
ΔE00 4.98
Brownish Yellow
#C9B003
ΔE00 5.41
Dark Yellow
#D5B60A
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAD42 #4264CF
analogous
#CF6642 #CFAD42 #AACF42
triadic
#CFAD42 #42CFAD #AD42CF
tetradic
#CFAD42 #42CF66 #4264CF #CF42AA
square
#CFAD42 #42CF66 #4264CF #CF42AA
split-complementary
#CFAD42 #42AACF #6642CF
monochromatic
#78621F #A98B2B #CFAD42 #DBC273 #E8D7A4
Accessibility & contrast
On white
2.16
#CFAD42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#CFAD42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAD42
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAD42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAD42 | 1.00 | 2.16 | 9.71 | 9.71 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAB34
Deuteranopia (green-blind)
#C8B447
Tritanopia (blue-blind)
#DF9F97
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #cfad42; /* rgb */ color: rgb(207, 173, 66); /* oklch */ color: oklch(75.8% 0.129 91.2);
Tailwind
colors: {
custom: {
50: '#e1c57c',
500: '#cfad42',
950: '#000000',
},
}SCSS
$custom: #cfad42; $custom-light: #e1c57c; $custom-dark: #000000;
JSON
{
"hex": "#cfad42",
"rgb": {
"r": 207,
"g": 173,
"b": 66
},
"hsl": {
"h": 45.532,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.75836,
"c": 0.12927,
"h": 91.2
},
"luminance": 0.43546
}Semantic roles & 50–950 ramp
primary
#CFAD42
secondary
#98A7D5
accent
#6BE345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C