#CFC45D#CFC45D
#CFC45D is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.9% C 0.125 H 103.2°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC45D |
|---|---|
| RGB | rgb(207, 196, 93) |
| HSL | hsl(54, 54%, 59%) |
| HSV | hsv(54, 55%, 81%) |
| CMYK | cmyk(0%, 5.3%, 55.1%, 18.8%) |
| CIE-LAB | lab(78.19, -9.35, 52.25) |
| CIE-LCH | lch(78.19, 53.08, 100.15°) |
| OKLab | oklab(80.88% -0.0287 0.1219) |
| OKLCH | oklch(80.88% 0.125 103.2) |
| XYZ | xyz(47.4494, 53.5372, 18.1881) |
| Luminance | 0.5354 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.30
Darkkhaki
#BDB76B
ΔE00 5.56
Vomit Yellow
#C7C10C
ΔE00 6.35
Greenish Beige
#C9D179
ΔE00 6.39
Puke Yellow
#C2BE0E
ΔE00 6.40
Dirty Yellow
#CDC50A
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC45D #5D68CF
analogous
#CF8B5D #CFC45D #A1CF5D
triadic
#CFC45D #5DCFC4 #C45DCF
tetradic
#CFC45D #5DCF8B #5D68CF #CF5DA1
square
#CFC45D #5DCF8B #5D68CF #CF5DA1
split-complementary
#CFC45D #5DA1CF #8B5DCF
monochromatic
#898029 #B8AC37 #CFC45D #DDD58C #EBE6BB
Accessibility & contrast
On white
1.79
#CFC45D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.71
#CFC45D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC45D
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC45D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC45D | 1.00 | 1.79 | 11.71 | 11.71 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BE53
Deuteranopia (green-blind)
#D7C462
Tritanopia (blue-blind)
#DDB8AD
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc45d; /* rgb */ color: rgb(207, 196, 93); /* oklch */ color: oklch(80.9% 0.125 103.2);
Tailwind
colors: {
custom: {
50: '#e0d58e',
500: '#cfc45d',
950: '#000000',
},
}SCSS
$custom: #cfc45d; $custom-light: #e0d58e; $custom-dark: #000000;
JSON
{
"hex": "#cfc45d",
"rgb": {
"r": 207,
"g": 196,
"b": 93
},
"hsl": {
"h": 54.211,
"s": 54.286,
"l": 58.824
},
"oklch": {
"l": 0.80877,
"c": 0.12524,
"h": 103.2
},
"luminance": 0.53536
}Semantic roles & 50–950 ramp
primary
#CFC45D
secondary
#414890
accent
#58DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F