#CFC357#CFC357
#CFC357 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.130 H 103.0°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC357 |
|---|---|
| RGB | rgb(207, 195, 87) |
| HSL | hsl(54, 56%, 58%) |
| HSV | hsv(54, 58%, 81%) |
| CMYK | cmyk(0%, 5.8%, 58%, 18.8%) |
| CIE-LAB | lab(77.87, -9.30, 54.64) |
| CIE-LCH | lch(77.87, 55.42, 99.66°) |
| OKLab | oklab(80.6% -0.0292 0.1263) |
| OKLCH | oklch(80.6% 0.13 103) |
| XYZ | xyz(46.9692, 52.9854, 16.7681) |
| Luminance | 0.5298 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.61
Vomit Yellow
#C7C10C
ΔE00 5.70
Puke Yellow
#C2BE0E
ΔE00 5.77
Dirty Yellow
#CDC50A
ΔE00 5.85
Ugly Yellow
#D0C101
ΔE00 5.95
Olive Yellow
#C2B709
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC357 #5763CF
analogous
#CF8757 #CFC357 #9FCF57
triadic
#CFC357 #57CFC3 #C357CF
tetradic
#CFC357 #57CF87 #5763CF #CF579F
square
#CFC357 #57CF87 #5763CF #CF579F
split-complementary
#CFC357 #579FCF #8757CF
monochromatic
#857C26 #B5A834 #CFC357 #DDD487 #EAE5B6
Accessibility & contrast
On white
1.81
#CFC357 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.60
#CFC357 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC357
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC357 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC357 | 1.00 | 1.81 | 11.60 | 11.60 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BD4C
Deuteranopia (green-blind)
#D7C35D
Tritanopia (blue-blind)
#DDB7AB
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc357; /* rgb */ color: rgb(207, 195, 87); /* oklch */ color: oklch(80.6% 0.130 103.0);
Tailwind
colors: {
custom: {
50: '#e0d48a',
500: '#cfc357',
950: '#000000',
},
}SCSS
$custom: #cfc357; $custom-light: #e0d48a; $custom-dark: #000000;
JSON
{
"hex": "#cfc357",
"rgb": {
"r": 207,
"g": 195,
"b": 87
},
"hsl": {
"h": 54,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.80599,
"c": 0.12966,
"h": 103
},
"luminance": 0.52984
}Semantic roles & 50–950 ramp
primary
#CFC357
secondary
#3E468C
accent
#58DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F