#CFC15A#CFC15A
#CFC15A is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.125 H 101.6°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC15A |
|---|---|
| RGB | rgb(207, 193, 90) |
| HSL | hsl(53, 55%, 58%) |
| HSV | hsv(53, 57%, 81%) |
| CMYK | cmyk(0%, 6.8%, 56.5%, 18.8%) |
| CIE-LAB | lab(77.37, -8.05, 52.70) |
| CIE-LCH | lch(77.37, 53.31, 98.68°) |
| OKLab | oklab(80.21% -0.0253 0.1225) |
| OKLCH | oklch(80.21% 0.125 101.6) |
| XYZ | xyz(46.6492, 52.1453, 17.2787) |
| Luminance | 0.5214 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.08
Darkkhaki
#BDB76B
ΔE00 5.52
Olive Yellow
#C2B709
ΔE00 6.33
Mustard Yellow
#D2BD0A
ΔE00 6.35
Vomit Yellow
#C7C10C
ΔE00 6.35
Puke Yellow
#C2BE0E
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC15A #5A68CF
analogous
#CF865A #CFC15A #A2CF5A
triadic
#CFC15A #5ACFC1 #C15ACF
tetradic
#CFC15A #5ACF86 #5A68CF #CF5AA2
square
#CFC15A #5ACF86 #5A68CF #CF5AA2
split-complementary
#CFC15A #5AA2CF #865ACF
monochromatic
#877C27 #B7A735 #CFC15A #DDD389 #EBE5B9
Accessibility & contrast
On white
1.84
#CFC15A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.43
#CFC15A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC15A
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC15A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC15A | 1.00 | 1.84 | 11.43 | 11.43 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BC50
Deuteranopia (green-blind)
#D5C25F
Tritanopia (blue-blind)
#DDB5AA
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc15a; /* rgb */ color: rgb(207, 193, 90); /* oklch */ color: oklch(80.2% 0.125 101.6);
Tailwind
colors: {
custom: {
50: '#e0d38c',
500: '#cfc15a',
950: '#000000',
},
}SCSS
$custom: #cfc15a; $custom-light: #e0d38c; $custom-dark: #000000;
JSON
{
"hex": "#cfc15a",
"rgb": {
"r": 207,
"g": 193,
"b": 90
},
"hsl": {
"h": 52.821,
"s": 54.93,
"l": 58.235
},
"oklch": {
"l": 0.80213,
"c": 0.12511,
"h": 101.6
},
"luminance": 0.52144
}Semantic roles & 50–950 ramp
primary
#CFC15A
secondary
#3F498E
accent
#5BDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F