#CFC245#CFC245
#CFC245 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.143 H 103.3°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC245 |
|---|---|
| RGB | rgb(207, 194, 69) |
| HSL | hsl(54, 59%, 54%) |
| HSV | hsv(54, 67%, 81%) |
| CMYK | cmyk(0%, 6.3%, 66.7%, 18.8%) |
| CIE-LAB | lab(77.45, -9.95, 61.90) |
| CIE-LCH | lch(77.45, 62.70, 99.13°) |
| OKLab | oklab(80.22% -0.033 0.1392) |
| OKLCH | oklch(80.22% 0.143 103.3) |
| XYZ | xyz(46.0999, 52.2805, 13.2919) |
| Luminance | 0.5228 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 3.86
Ugly Yellow
#D0C101
ΔE00 3.94
Dirty Yellow
#CDC50A
ΔE00 3.97
Puke Yellow
#C2BE0E
ΔE00 4.09
Mustard Yellow
#D2BD0A
ΔE00 4.21
Olive Yellow
#C2B709
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC245 #4552CF
analogous
#CF7D45 #CFC245 #97CF45
triadic
#CFC245 #45CFC2 #C245CF
tetradic
#CFC245 #45CF7D #4552CF #CF4597
square
#CFC245 #45CF7D #4552CF #CF4597
split-complementary
#CFC245 #4597CF #7D45CF
monochromatic
#7A7220 #AB9F2C #CFC245 #DCD276 #E8E2A6
Accessibility & contrast
On white
1.83
#CFC245 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.46
#CFC245 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC245
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC245 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC245 | 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)
#D3BC34
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#DEB5A8
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc245; /* rgb */ color: rgb(207, 194, 69); /* oklch */ color: oklch(80.2% 0.143 103.3);
Tailwind
colors: {
custom: {
50: '#e1d47f',
500: '#cfc245',
950: '#000000',
},
}SCSS
$custom: #cfc245; $custom-light: #e1d47f; $custom-dark: #000000;
JSON
{
"hex": "#cfc245",
"rgb": {
"r": 207,
"g": 194,
"b": 69
},
"hsl": {
"h": 54.348,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.80218,
"c": 0.14305,
"h": 103.3
},
"luminance": 0.52279
}Semantic roles & 50–950 ramp
primary
#CFC245
secondary
#363D82
accent
#54E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D