#CFC456#CFC456
#CFC456 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.131 H 103.6°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC456 |
|---|---|
| RGB | rgb(207, 196, 86) |
| HSL | hsl(55, 56%, 57%) |
| HSV | hsv(55, 58%, 81%) |
| CMYK | cmyk(0%, 5.3%, 58.5%, 18.8%) |
| CIE-LAB | lab(78.12, -9.88, 55.37) |
| CIE-LCH | lch(78.12, 56.25, 100.12°) |
| OKLab | oklab(80.8% -0.0309 0.1278) |
| OKLCH | oklch(80.8% 0.131 103.6) |
| XYZ | xyz(47.1534, 53.4188, 16.6293) |
| Luminance | 0.5342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 5.47
Puke Yellow
#C2BE0E
ΔE00 5.57
Dirty Yellow
#CDC50A
ΔE00 5.61
Ugly Yellow
#D0C101
ΔE00 5.81
Sand (survey)
#E2CA76
ΔE00 5.86
Olive Yellow
#C2B709
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC456 #5661CF
analogous
#CF8756 #CFC456 #9ECF56
triadic
#CFC456 #56CFC4 #C456CF
tetradic
#CFC456 #56CF87 #5661CF #CF569E
square
#CFC456 #56CF87 #5661CF #CF569E
split-complementary
#CFC456 #569ECF #8756CF
monochromatic
#857C26 #B5A933 #CFC456 #DDD586 #EAE5B5
Accessibility & contrast
On white
1.80
#CFC456 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.68
#CFC456 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC456
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC456 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC456 | 1.00 | 1.80 | 11.68 | 11.68 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BE4A
Deuteranopia (green-blind)
#D7C45C
Tritanopia (blue-blind)
#DDB8AC
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc456; /* rgb */ color: rgb(207, 196, 86); /* oklch */ color: oklch(80.8% 0.131 103.6);
Tailwind
colors: {
custom: {
50: '#e0d58a',
500: '#cfc456',
950: '#000000',
},
}SCSS
$custom: #cfc456; $custom-light: #e0d58a; $custom-dark: #000000;
JSON
{
"hex": "#cfc456",
"rgb": {
"r": 207,
"g": 196,
"b": 86
},
"hsl": {
"h": 54.545,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.80799,
"c": 0.13148,
"h": 103.6
},
"luminance": 0.53417
}Semantic roles & 50–950 ramp
primary
#CFC456
secondary
#3D448C
accent
#56DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F