#CFC562#CFC562
#CFC562 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.122 H 103.5°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC562 |
|---|---|
| RGB | rgb(207, 197, 98) |
| HSL | hsl(54, 53%, 60%) |
| HSV | hsv(54, 53%, 81%) |
| CMYK | cmyk(0%, 4.8%, 52.7%, 18.8%) |
| CIE-LAB | lab(78.51, -9.46, 50.27) |
| CIE-LCH | lch(78.51, 51.16, 100.66°) |
| OKLab | oklab(81.15% -0.0284 0.1182) |
| OKLCH | oklch(81.15% 0.122 103.5) |
| XYZ | xyz(47.9044, 54.0813, 19.4682) |
| Luminance | 0.5408 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.13
Darkkhaki
#BDB76B
ΔE00 5.24
Greenish Beige
#C9D179
ΔE00 5.82
Sandy
#F1DA7A
ΔE00 6.69
Vomit Yellow
#C7C10C
ΔE00 6.93
Puke Yellow
#C2BE0E
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC562 #626CCF
analogous
#CF8E62 #CFC562 #A3CF62
triadic
#CFC562 #62CFC5 #C562CF
tetradic
#CFC562 #62CF8E #626CCF #CF62A3
square
#CFC562 #62CF8E #626CCF #CF62A3
split-complementary
#CFC562 #62A3CF #8E62CF
monochromatic
#8C832B #BBAF39 #CFC562 #DDD691 #ECE8C0
Accessibility & contrast
On white
1.78
#CFC562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.82
#CFC562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC562
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC562 | 1.00 | 1.78 | 11.82 | 11.82 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BF59
Deuteranopia (green-blind)
#D7C567
Tritanopia (blue-blind)
#DCBAAF
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cfc562; /* rgb */ color: rgb(207, 197, 98); /* oklch */ color: oklch(81.1% 0.122 103.5);
Tailwind
colors: {
custom: {
50: '#e0d691',
500: '#cfc562',
950: '#000000',
},
}SCSS
$custom: #cfc562; $custom-light: #e0d691; $custom-dark: #000000;
JSON
{
"hex": "#cfc562",
"rgb": {
"r": 207,
"g": 197,
"b": 98
},
"hsl": {
"h": 54.495,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.81146,
"c": 0.12153,
"h": 103.5
},
"luminance": 0.5408
}Semantic roles & 50–950 ramp
primary
#CFC562
secondary
#434A92
accent
#59DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F