#CFC246#CFC246
#CFC246 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.142 H 103.3°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC246 |
|---|---|
| RGB | rgb(207, 194, 70) |
| HSL | hsl(54, 59%, 54%) |
| HSV | hsv(54, 66%, 81%) |
| CMYK | cmyk(0%, 6.3%, 66.2%, 18.8%) |
| CIE-LAB | lab(77.46, -9.89, 61.51) |
| CIE-LCH | lch(77.46, 62.30, 99.13°) |
| OKLab | oklab(80.23% -0.0327 0.1385) |
| OKLCH | oklch(80.23% 0.142 103.3) |
| XYZ | xyz(46.1313, 52.2930, 13.4568) |
| Luminance | 0.5229 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 3.96
Ugly Yellow
#D0C101
ΔE00 4.04
Dirty Yellow
#CDC50A
ΔE00 4.07
Puke Yellow
#C2BE0E
ΔE00 4.17
Mustard Yellow
#D2BD0A
ΔE00 4.30
Olive Yellow
#C2B709
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC246 #4653CF
analogous
#CF7E46 #CFC246 #97CF46
triadic
#CFC246 #46CFC2 #C246CF
tetradic
#CFC246 #46CF7E #4653CF #CF4697
square
#CFC246 #46CF7E #4653CF #CF4697
split-complementary
#CFC246 #4697CF #7E46CF
monochromatic
#7B7220 #AB9F2C #CFC246 #DCD277 #E8E2A7
Accessibility & contrast
On white
1.83
#CFC246 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.46
#CFC246 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC246
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC246 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC246 | 1.00 | 1.83 | 11.46 | 11.46 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BC35
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#DEB5A9
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc246; /* rgb */ color: rgb(207, 194, 70); /* oklch */ color: oklch(80.2% 0.142 103.3);
Tailwind
colors: {
custom: {
50: '#e1d480',
500: '#cfc246',
950: '#000000',
},
}SCSS
$custom: #cfc246; $custom-light: #e1d480; $custom-dark: #000000;
JSON
{
"hex": "#cfc246",
"rgb": {
"r": 207,
"g": 194,
"b": 70
},
"hsl": {
"h": 54.307,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.80226,
"c": 0.14234,
"h": 103.3
},
"luminance": 0.52291
}Semantic roles & 50–950 ramp
primary
#CFC246
secondary
#363E83
accent
#55E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E