#CFC236#CFC236
#CFC236 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.1% C 0.153 H 103.9°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC236 |
|---|---|
| RGB | rgb(207, 194, 54) |
| HSL | hsl(55, 61%, 51%) |
| HSV | hsv(55, 74%, 81%) |
| CMYK | cmyk(0%, 6.3%, 73.9%, 18.8%) |
| CIE-LAB | lab(77.35, -10.69, 67.40) |
| CIE-LCH | lch(77.35, 68.24, 99.01°) |
| OKLab | oklab(80.11% -0.0366 0.1482) |
| OKLCH | oklch(80.11% 0.153 103.9) |
| XYZ | xyz(45.6918, 52.1172, 11.1421) |
| Luminance | 0.5212 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Yellow
#D0C101
ΔE00 2.56
Dirty Yellow
#CDC50A
ΔE00 2.67
Vomit Yellow
#C7C10C
ΔE00 2.67
Puke Yellow
#C2BE0E
ΔE00 3.12
Mustard Yellow
#D2BD0A
ΔE00 3.14
Olive Yellow
#C2B709
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC236 #3643CF
analogous
#CF7536 #CFC236 #8FCF36
triadic
#CFC236 #36CFC2 #C236CF
tetradic
#CFC236 #36CF75 #3643CF #CF368F
square
#CFC236 #36CF75 #3643CF #CF368F
split-complementary
#CFC236 #368FCF #7536CF
monochromatic
#70691B #A19727 #CFC236 #DBD167 #E7E099
Accessibility & contrast
On white
1.84
#CFC236 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.42
#CFC236 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC236
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC236 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC236 | 1.00 | 1.84 | 11.42 | 11.42 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BB1A
Deuteranopia (green-blind)
#D8C240
Tritanopia (blue-blind)
#DFB4A7
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc236; /* rgb */ color: rgb(207, 194, 54); /* oklch */ color: oklch(80.1% 0.153 103.9);
Tailwind
colors: {
custom: {
50: '#e2d477',
500: '#cfc236',
950: '#000000',
},
}SCSS
$custom: #cfc236; $custom-light: #e2d477; $custom-dark: #000000;
JSON
{
"hex": "#cfc236",
"rgb": {
"r": 207,
"g": 194,
"b": 54
},
"hsl": {
"h": 54.902,
"s": 61.446,
"l": 51.176
},
"oklch": {
"l": 0.80109,
"c": 0.15266,
"h": 103.9
},
"luminance": 0.52115
}Semantic roles & 50–950 ramp
primary
#CFC236
secondary
#303679
accent
#51E543
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D