#CFC261#CFC261
#CFC261 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.120 H 101.8°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC261 |
|---|---|
| RGB | rgb(207, 194, 97) |
| HSL | hsl(53, 53%, 60%) |
| HSV | hsv(53, 53%, 81%) |
| CMYK | cmyk(0%, 6.3%, 53.1%, 18.8%) |
| CIE-LAB | lab(77.71, -8.00, 49.81) |
| CIE-LCH | lch(77.71, 50.45, 99.13°) |
| OKLab | oklab(80.51% -0.0243 0.1171) |
| OKLCH | oklch(80.51% 0.12 101.8) |
| XYZ | xyz(47.1831, 52.7137, 18.9963) |
| Luminance | 0.5271 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.68
Darkkhaki
#BDB76B
ΔE00 4.94
Greenish Beige
#C9D179
ΔE00 6.70
Sandy
#F1DA7A
ΔE00 6.81
Vomit Yellow
#C7C10C
ΔE00 7.13
Puke Yellow
#C2BE0E
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC261 #616ECF
analogous
#CF8B61 #CFC261 #A5CF61
triadic
#CFC261 #61CFC2 #C261CF
tetradic
#CFC261 #61CF8B #616ECF #CF61A5
square
#CFC261 #61CF8B #616ECF #CF61A5
split-complementary
#CFC261 #61A5CF #8B61CF
monochromatic
#8B802A #BAAB39 #CFC261 #DDD490 #ECE6BF
Accessibility & contrast
On white
1.82
#CFC261 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.54
#CFC261 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC261
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC261 | 1.00 | 1.82 | 11.54 | 11.54 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BD58
Deuteranopia (green-blind)
#D5C366
Tritanopia (blue-blind)
#DDB7AC
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc261; /* rgb */ color: rgb(207, 194, 97); /* oklch */ color: oklch(80.5% 0.120 101.8);
Tailwind
colors: {
custom: {
50: '#e0d490',
500: '#cfc261',
950: '#000000',
},
}SCSS
$custom: #cfc261; $custom-light: #e0d490; $custom-dark: #000000;
JSON
{
"hex": "#cfc261",
"rgb": {
"r": 207,
"g": 194,
"b": 97
},
"hsl": {
"h": 52.909,
"s": 53.398,
"l": 59.608
},
"oklch": {
"l": 0.80505,
"c": 0.11956,
"h": 101.8
},
"luminance": 0.52712
}Semantic roles & 50–950 ramp
primary
#CFC261
secondary
#424C92
accent
#5CDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F