#CFC056#CFC056
#CFC056 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.0% C 0.128 H 101.3°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC056 |
|---|---|
| RGB | rgb(207, 192, 86) |
| HSL | hsl(53, 56%, 57%) |
| HSV | hsv(53, 58%, 81%) |
| CMYK | cmyk(0%, 7.2%, 58.5%, 18.8%) |
| CIE-LAB | lab(77.06, -7.83, 54.19) |
| CIE-LCH | lch(77.06, 54.75, 98.22°) |
| OKLab | oklab(79.96% -0.0251 0.1253) |
| OKLCH | oklch(79.96% 0.128 101.3) |
| XYZ | xyz(46.2632, 51.6384, 16.3326) |
| Luminance | 0.5164 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.30
Darkkhaki
#BDB76B
ΔE00 5.84
Mustard Yellow
#D2BD0A
ΔE00 5.84
Olive Yellow
#C2B709
ΔE00 5.89
Ugly Yellow
#D0C101
ΔE00 6.00
Vomit Yellow
#C7C10C
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC056 #5665CF
analogous
#CF8456 #CFC056 #A1CF56
triadic
#CFC056 #56CFC0 #C056CF
tetradic
#CFC056 #56CF84 #5665CF #CF56A1
square
#CFC056 #56CF84 #5665CF #CF56A1
split-complementary
#CFC056 #56A1CF #8456CF
monochromatic
#857926 #B5A533 #CFC056 #DDD286 #EAE4B5
Accessibility & contrast
On white
1.85
#CFC056 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.33
#CFC056 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC056
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC056 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC056 | 1.00 | 1.85 | 11.33 | 11.33 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BB4B
Deuteranopia (green-blind)
#D4C15B
Tritanopia (blue-blind)
#DDB4A9
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #cfc056; /* rgb */ color: rgb(207, 192, 86); /* oklch */ color: oklch(80.0% 0.128 101.3);
Tailwind
colors: {
custom: {
50: '#e0d289',
500: '#cfc056',
950: '#000000',
},
}SCSS
$custom: #cfc056; $custom-light: #e0d289; $custom-dark: #000000;
JSON
{
"hex": "#cfc056",
"rgb": {
"r": 207,
"g": 192,
"b": 86
},
"hsl": {
"h": 52.562,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.79959,
"c": 0.12775,
"h": 101.3
},
"luminance": 0.51637
}Semantic roles & 50–950 ramp
primary
#CFC056
secondary
#3D478C
accent
#5BDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F