#CFC45F#CFC45F
#CFC45F is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.123 H 103.1°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC45F |
|---|---|
| RGB | rgb(207, 196, 95) |
| HSL | hsl(54, 54%, 59%) |
| HSV | hsv(54, 54%, 81%) |
| CMYK | cmyk(0%, 5.3%, 54.1%, 18.8%) |
| CIE-LAB | lab(78.21, -9.19, 51.34) |
| CIE-LCH | lch(78.21, 52.16, 100.15°) |
| OKLab | oklab(80.9% -0.028 0.1202) |
| OKLCH | oklch(80.9% 0.123 103.1) |
| XYZ | xyz(47.5391, 53.5731, 18.6607) |
| Luminance | 0.5357 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.15
Darkkhaki
#BDB76B
ΔE00 5.37
Greenish Beige
#C9D179
ΔE00 6.26
Vomit Yellow
#C7C10C
ΔE00 6.62
Puke Yellow
#C2BE0E
ΔE00 6.66
Sandy
#F1DA7A
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC45F #5F6ACF
analogous
#CF8C5F #CFC45F #A2CF5F
triadic
#CFC45F #5FCFC4 #C45FCF
tetradic
#CFC45F #5FCF8C #5F6ACF #CF5FA2
square
#CFC45F #5FCF8C #5F6ACF #CF5FA2
split-complementary
#CFC45F #5FA2CF #8C5FCF
monochromatic
#8A8129 #B9AC38 #CFC45F #DDD58E #EBE7BD
Accessibility & contrast
On white
1.79
#CFC45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.71
#CFC45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC45F
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC45F | 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)
#D3BE55
Deuteranopia (green-blind)
#D7C464
Tritanopia (blue-blind)
#DDB8AD
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc45f; /* rgb */ color: rgb(207, 196, 95); /* oklch */ color: oklch(80.9% 0.123 103.1);
Tailwind
colors: {
custom: {
50: '#e0d58f',
500: '#cfc45f',
950: '#000000',
},
}SCSS
$custom: #cfc45f; $custom-light: #e0d58f; $custom-dark: #000000;
JSON
{
"hex": "#cfc45f",
"rgb": {
"r": 207,
"g": 196,
"b": 95
},
"hsl": {
"h": 54.107,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.809,
"c": 0.12338,
"h": 103.1
},
"luminance": 0.53571
}Semantic roles & 50–950 ramp
primary
#CFC45F
secondary
#414991
accent
#59DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F