#CFC146#CFC146
#CFC146 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.0% C 0.141 H 102.8°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC146 |
|---|---|
| RGB | rgb(207, 193, 70) |
| HSL | hsl(54, 59%, 54%) |
| HSV | hsv(54, 66%, 81%) |
| CMYK | cmyk(0%, 6.8%, 66.2%, 18.8%) |
| CIE-LAB | lab(77.19, -9.38, 61.23) |
| CIE-LCH | lch(77.19, 61.95, 98.71°) |
| OKLab | oklab(80.02% -0.0313 0.1379) |
| OKLCH | oklch(80.02% 0.141 102.8) |
| XYZ | xyz(45.9094, 51.8494, 13.3828) |
| Luminance | 0.5185 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Yellow
#D0C101
ΔE00 4.07
Vomit Yellow
#C7C10C
ΔE00 4.11
Mustard Yellow
#D2BD0A
ΔE00 4.19
Dirty Yellow
#CDC50A
ΔE00 4.25
Puke Yellow
#C2BE0E
ΔE00 4.30
Olive Yellow
#C2B709
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC146 #4654CF
analogous
#CF7D46 #CFC146 #98CF46
triadic
#CFC146 #46CFC1 #C146CF
tetradic
#CFC146 #46CF7D #4654CF #CF4698
square
#CFC146 #46CF7D #4654CF #CF4698
split-complementary
#CFC146 #4698CF #7D46CF
monochromatic
#7B7120 #AB9E2C #CFC146 #DCD177 #E8E2A7
Accessibility & contrast
On white
1.85
#CFC146 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.37
#CFC146 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC146
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC146 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC146 | 1.00 | 1.85 | 11.37 | 11.37 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BB36
Deuteranopia (green-blind)
#D6C14D
Tritanopia (blue-blind)
#DEB4A8
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc146; /* rgb */ color: rgb(207, 193, 70); /* oklch */ color: oklch(80.0% 0.141 102.8);
Tailwind
colors: {
custom: {
50: '#e1d380',
500: '#cfc146',
950: '#000000',
},
}SCSS
$custom: #cfc146; $custom-light: #e1d380; $custom-dark: #000000;
JSON
{
"hex": "#cfc146",
"rgb": {
"r": 207,
"g": 193,
"b": 70
},
"hsl": {
"h": 53.869,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.80015,
"c": 0.14145,
"h": 102.8
},
"luminance": 0.51848
}Semantic roles & 50–950 ramp
primary
#CFC146
secondary
#363E83
accent
#56E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E