#CFC262#CFC262
#CFC262 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.119 H 101.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC262 |
|---|---|
| RGB | rgb(207, 194, 98) |
| HSL | hsl(53, 53%, 60%) |
| HSV | hsv(53, 53%, 81%) |
| CMYK | cmyk(0%, 6.3%, 52.7%, 18.8%) |
| CIE-LAB | lab(77.72, -7.92, 49.34) |
| CIE-LCH | lch(77.72, 49.98, 99.12°) |
| OKLab | oklab(80.52% -0.024 0.1161) |
| OKLCH | oklch(80.52% 0.119 101.7) |
| XYZ | xyz(47.2300, 52.7325, 19.2434) |
| Luminance | 0.5273 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.61
Darkkhaki
#BDB76B
ΔE00 4.85
Greenish Beige
#C9D179
ΔE00 6.65
Sandy
#F1DA7A
ΔE00 6.80
Vomit Yellow
#C7C10C
ΔE00 7.27
Puke Yellow
#C2BE0E
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC262 #626FCF
analogous
#CF8C62 #CFC262 #A6CF62
triadic
#CFC262 #62CFC2 #C262CF
tetradic
#CFC262 #62CF8C #626FCF #CF62A6
square
#CFC262 #62CF8C #626FCF #CF62A6
split-complementary
#CFC262 #62A6CF #8C62CF
monochromatic
#8C802B #BBAB39 #CFC262 #DDD491 #ECE6C0
Accessibility & contrast
On white
1.82
#CFC262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.55
#CFC262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC262
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC262 | 1.00 | 1.82 | 11.55 | 11.55 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BD59
Deuteranopia (green-blind)
#D5C366
Tritanopia (blue-blind)
#DDB7AC
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc262; /* rgb */ color: rgb(207, 194, 98); /* oklch */ color: oklch(80.5% 0.119 101.7);
Tailwind
colors: {
custom: {
50: '#e0d491',
500: '#cfc262',
950: '#000000',
},
}SCSS
$custom: #cfc262; $custom-light: #e0d491; $custom-dark: #000000;
JSON
{
"hex": "#cfc262",
"rgb": {
"r": 207,
"g": 194,
"b": 98
},
"hsl": {
"h": 52.844,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.80517,
"c": 0.11859,
"h": 101.7
},
"luminance": 0.52731
}Semantic roles & 50–950 ramp
primary
#CFC262
secondary
#434C92
accent
#5DDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F