#CFA936#CFA936
#CFA936 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.9% C 0.135 H 89.8°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA936 |
|---|---|
| RGB | rgb(207, 169, 54) |
| HSL | hsl(45, 61%, 51%) |
| HSV | hsv(45, 74%, 81%) |
| CMYK | cmyk(0%, 18.4%, 73.9%, 18.8%) |
| CIE-LAB | lab(70.81, 2.35, 61.15) |
| CIE-LCH | lch(70.81, 61.19, 87.80°) |
| OKLab | oklab(74.93% 0.0004 0.1349) |
| OKLCH | oklch(74.93% 0.135 89.8) |
| XYZ | xyz(40.5883, 41.9102, 9.4410) |
| Luminance | 0.4191 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 3.16
Mustard
#DBB42C
ΔE00 3.60
Goldenrod
#DAA520
ΔE00 4.06
Yellow Ochre
#CB9D06
ΔE00 4.10
Ocre
#C69C04
ΔE00 4.19
Ocher
#BF9B0C
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA936 #365CCF
analogous
#CF5C36 #CFA936 #A8CF36
triadic
#CFA936 #36CFA9 #A936CF
tetradic
#CFA936 #36CF5C #365CCF #CF36A8
square
#CFA936 #36CF5C #365CCF #CF36A8
split-complementary
#CFA936 #36A8CF #5C36CF
monochromatic
#705B1B #A18327 #CFA936 #DBBE67 #E7D399
Accessibility & contrast
On white
2.24
#CFA936 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#CFA936 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA936
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA936 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA936 | 1.00 | 2.24 | 9.38 | 9.38 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA724
Deuteranopia (green-blind)
#C6B23C
Tritanopia (blue-blind)
#E09B92
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #cfa936; /* rgb */ color: rgb(207, 169, 54); /* oklch */ color: oklch(74.9% 0.135 89.8);
Tailwind
colors: {
custom: {
50: '#e2c275',
500: '#cfa936',
950: '#000000',
},
}SCSS
$custom: #cfa936; $custom-light: #e2c275; $custom-dark: #000000;
JSON
{
"hex": "#cfa936",
"rgb": {
"r": 207,
"g": 169,
"b": 54
},
"hsl": {
"h": 45.098,
"s": 61.446,
"l": 51.176
},
"oklch": {
"l": 0.74928,
"c": 0.13492,
"h": 89.8
},
"luminance": 0.41908
}Semantic roles & 50–950 ramp
primary
#CFA936
secondary
#8F9FD2
accent
#6BE543
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B