#CFC761#CFC761
#CFC761 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.124 H 104.7°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC761 |
|---|---|
| RGB | rgb(207, 199, 97) |
| HSL | hsl(56, 53%, 60%) |
| HSV | hsv(56, 53%, 81%) |
| CMYK | cmyk(0%, 3.9%, 53.1%, 18.8%) |
| CIE-LAB | lab(79.03, -10.56, 51.35) |
| CIE-LCH | lch(79.03, 52.43, 101.62°) |
| OKLab | oklab(81.56% -0.0317 0.1204) |
| OKLCH | oklch(81.56% 0.124 104.7) |
| XYZ | xyz(48.3146, 54.9768, 19.3735) |
| Luminance | 0.5497 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.40
Sand (survey)
#E2CA76
ΔE00 5.62
Darkkhaki
#BDB76B
ΔE00 5.69
Vomit Yellow
#C7C10C
ΔE00 6.68
Dull Yellow
#EEDC5B
ΔE00 6.72
Sandy
#F1DA7A
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC761 #6169CF
analogous
#CF9061 #CFC761 #A0CF61
triadic
#CFC761 #61CFC7 #C761CF
tetradic
#CFC761 #61CF90 #6169CF #CF61A0
square
#CFC761 #61CF90 #6169CF #CF61A0
split-complementary
#CFC761 #61A0CF #9061CF
monochromatic
#8B842A #BAB139 #CFC761 #DDD890 #ECE8BF
Accessibility & contrast
On white
1.75
#CFC761 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.00
#CFC761 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC761
12.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC761 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC761 | 1.00 | 1.75 | 12.00 | 12.00 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C157
Deuteranopia (green-blind)
#D9C666
Tritanopia (blue-blind)
#DCBCB0
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cfc761; /* rgb */ color: rgb(207, 199, 97); /* oklch */ color: oklch(81.6% 0.124 104.7);
Tailwind
colors: {
custom: {
50: '#e0d791',
500: '#cfc761',
950: '#000000',
},
}SCSS
$custom: #cfc761; $custom-light: #e0d791; $custom-dark: #000000;
JSON
{
"hex": "#cfc761",
"rgb": {
"r": 207,
"g": 199,
"b": 97
},
"hsl": {
"h": 55.636,
"s": 53.398,
"l": 59.608
},
"oklch": {
"l": 0.81555,
"c": 0.12449,
"h": 104.7
},
"luminance": 0.54975
}Semantic roles & 50–950 ramp
primary
#CFC761
secondary
#424892
accent
#56DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F