#CFC756#CFC756
#CFC756 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.134 H 105.2°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC756 |
|---|---|
| RGB | rgb(207, 199, 86) |
| HSL | hsl(56, 56%, 57%) |
| HSV | hsv(56, 58%, 81%) |
| CMYK | cmyk(0%, 3.9%, 58.5%, 18.8%) |
| CIE-LAB | lab(78.92, -11.41, 56.26) |
| CIE-LCH | lch(78.92, 57.40, 101.46°) |
| OKLab | oklab(81.43% -0.0353 0.1297) |
| OKLCH | oklch(81.43% 0.134 105.2) |
| XYZ | xyz(47.8368, 54.7857, 16.8571) |
| Luminance | 0.5478 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 5.31
Dirty Yellow
#CDC50A
ΔE00 5.39
Puke Yellow
#C2BE0E
ΔE00 5.45
Ugly Yellow
#D0C101
ΔE00 5.91
Dull Yellow
#EEDC5B
ΔE00 6.21
Olive Yellow
#C2B709
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC756 #565ECF
analogous
#CF8A56 #CFC756 #9BCF56
triadic
#CFC756 #56CFC7 #C756CF
tetradic
#CFC756 #56CF8A #565ECF #CF569B
square
#CFC756 #56CF8A #565ECF #CF569B
split-complementary
#CFC756 #569BCF #8A56CF
monochromatic
#857F26 #B5AC33 #CFC756 #DDD786 #EAE7B5
Accessibility & contrast
On white
1.76
#CFC756 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.96
#CFC756 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC756
11.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC756 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC756 | 1.00 | 1.76 | 11.96 | 11.96 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C04A
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#DDBBAF
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc756; /* rgb */ color: rgb(207, 199, 86); /* oklch */ color: oklch(81.4% 0.134 105.2);
Tailwind
colors: {
custom: {
50: '#e0d78a',
500: '#cfc756',
950: '#000000',
},
}SCSS
$custom: #cfc756; $custom-light: #e0d78a; $custom-dark: #000000;
JSON
{
"hex": "#cfc756",
"rgb": {
"r": 207,
"g": 199,
"b": 86
},
"hsl": {
"h": 56.033,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.81432,
"c": 0.1344,
"h": 105.2
},
"luminance": 0.54784
}Semantic roles & 50–950 ramp
primary
#CFC756
secondary
#3D438C
accent
#53DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F