#CFC863#CFC863
#CFC863 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.124 H 105.2°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC863 |
|---|---|
| RGB | rgb(207, 200, 99) |
| HSL | hsl(56, 53%, 60%) |
| HSV | hsv(56, 52%, 81%) |
| CMYK | cmyk(0%, 3.4%, 52.2%, 18.8%) |
| CIE-LAB | lab(79.31, -10.91, 50.75) |
| CIE-LCH | lch(79.31, 51.90, 102.13°) |
| OKLab | oklab(81.79% -0.0324 0.1193) |
| OKLCH | oklch(81.79% 0.124 105.2) |
| XYZ | xyz(48.6399, 55.4763, 19.9478) |
| Luminance | 0.5547 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.02
Darkkhaki
#BDB76B
ΔE00 5.71
Sand (survey)
#E2CA76
ΔE00 5.73
Sandy
#F1DA7A
ΔE00 6.72
Dull Yellow
#EEDC5B
ΔE00 6.75
Vomit Yellow
#C7C10C
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC863 #636ACF
analogous
#CF9263 #CFC863 #A0CF63
triadic
#CFC863 #63CFC8 #C863CF
tetradic
#CFC863 #63CF92 #636ACF #CF63A0
square
#CFC863 #63CF92 #636ACF #CF63A0
split-complementary
#CFC863 #63A0CF #9263CF
monochromatic
#8C862B #BBB33A #CFC863 #DDD892 #ECE9C1
Accessibility & contrast
On white
1.74
#CFC863 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.10
#CFC863 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC863
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC863 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC863 | 1.00 | 1.74 | 12.10 | 12.10 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C259
Deuteranopia (green-blind)
#DAC768
Tritanopia (blue-blind)
#DCBDB1
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cfc863; /* rgb */ color: rgb(207, 200, 99); /* oklch */ color: oklch(81.8% 0.124 105.2);
Tailwind
colors: {
custom: {
50: '#e0d892',
500: '#cfc863',
950: '#000000',
},
}SCSS
$custom: #cfc863; $custom-light: #e0d892; $custom-dark: #000000;
JSON
{
"hex": "#cfc863",
"rgb": {
"r": 207,
"g": 200,
"b": 99
},
"hsl": {
"h": 56.111,
"s": 52.941,
"l": 60
},
"oklch": {
"l": 0.8179,
"c": 0.12362,
"h": 105.2
},
"luminance": 0.55475
}Semantic roles & 50–950 ramp
primary
#CFC863
secondary
#434993
accent
#55DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F