#CFC861#CFC861
#CFC861 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.126 H 105.3°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC861 |
|---|---|
| RGB | rgb(207, 200, 97) |
| HSL | hsl(56, 53%, 60%) |
| HSV | hsv(56, 53%, 81%) |
| CMYK | cmyk(0%, 3.4%, 53.1%, 18.8%) |
| CIE-LAB | lab(79.29, -11.07, 51.66) |
| CIE-LCH | lch(79.29, 52.83, 102.10°) |
| OKLab | oklab(81.77% -0.0331 0.1211) |
| OKLCH | oklch(81.77% 0.126 105.3) |
| XYZ | xyz(48.5455, 55.4385, 19.4504) |
| Luminance | 0.5544 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.18
Sand (survey)
#E2CA76
ΔE00 5.85
Darkkhaki
#BDB76B
ΔE00 5.89
Dull Yellow
#EEDC5B
ΔE00 6.63
Vomit Yellow
#C7C10C
ΔE00 6.65
Puke Yellow
#C2BE0E
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC861 #6168CF
analogous
#CF9161 #CFC861 #9FCF61
triadic
#CFC861 #61CFC8 #C861CF
tetradic
#CFC861 #61CF91 #6168CF #CF619F
square
#CFC861 #61CF91 #6168CF #CF619F
split-complementary
#CFC861 #619FCF #9161CF
monochromatic
#8B852A #BAB239 #CFC861 #DDD890 #ECE9BF
Accessibility & contrast
On white
1.74
#CFC861 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.09
#CFC861 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC861
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC861 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC861 | 1.00 | 1.74 | 12.09 | 12.09 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C257
Deuteranopia (green-blind)
#DAC766
Tritanopia (blue-blind)
#DCBDB1
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cfc861; /* rgb */ color: rgb(207, 200, 97); /* oklch */ color: oklch(81.8% 0.126 105.3);
Tailwind
colors: {
custom: {
50: '#e0d891',
500: '#cfc861',
950: '#000000',
},
}SCSS
$custom: #cfc861; $custom-light: #e0d891; $custom-dark: #000000;
JSON
{
"hex": "#cfc861",
"rgb": {
"r": 207,
"g": 200,
"b": 97
},
"hsl": {
"h": 56.182,
"s": 53.398,
"l": 59.608
},
"oklch": {
"l": 0.81766,
"c": 0.12551,
"h": 105.3
},
"luminance": 0.55437
}Semantic roles & 50–950 ramp
primary
#CFC861
secondary
#424792
accent
#54DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F