#CFC282#CFC282
#CFC282 is a light, moderate yellow. Relative luminance 0.535; OKLCH L 81.0% C 0.084 H 98.1°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC282 |
|---|---|
| RGB | rgb(207, 194, 130) |
| HSL | hsl(50, 45%, 66%) |
| HSV | hsv(50, 37%, 81%) |
| CMYK | cmyk(0%, 6.3%, 37.2%, 18.8%) |
| CIE-LAB | lab(78.15, -4.74, 33.87) |
| CIE-LCH | lch(78.15, 34.20, 97.97°) |
| OKLab | oklab(81% -0.0119 0.0835) |
| OKLCH | oklch(81% 0.084 98.1) |
| XYZ | xyz(49.0540, 53.4621, 28.8500) |
| Luminance | 0.5346 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.67
Sand
#C2B280
ΔE00 5.09
Sand (survey)
#E2CA76
ΔE00 5.12
Beige (survey)
#E6DAA6
ΔE00 6.53
Tan (survey)
#D1B26F
ΔE00 6.54
Sandstone
#C9AE74
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC282 #828FCF
analogous
#CF9B82 #CFC282 #B5CF82
triadic
#CFC282 #82CFC2 #C282CF
tetradic
#CFC282 #82CF9B #828FCF #CF82B5
square
#CFC282 #82CF9B #828FCF #CF82B5
split-complementary
#CFC282 #82B5CF #9B82CF
monochromatic
#9B8B3C #BEAC56 #CFC282 #E0D8AE #F1EDDA
Accessibility & contrast
On white
1.80
#CFC282 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.69
#CFC282 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC282
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC282 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC282 | 1.00 | 1.80 | 11.69 | 11.69 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBE7D
Deuteranopia (green-blind)
#D2C384
Tritanopia (blue-blind)
#DAB9B2
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc282; /* rgb */ color: rgb(207, 194, 130); /* oklch */ color: oklch(81.0% 0.084 98.1);
Tailwind
colors: {
custom: {
50: '#dfd4a7',
500: '#cfc282',
950: '#000000',
},
}SCSS
$custom: #cfc282; $custom-light: #dfd4a7; $custom-dark: #000000;
JSON
{
"hex": "#cfc282",
"rgb": {
"r": 207,
"g": 194,
"b": 130
},
"hsl": {
"h": 49.87,
"s": 44.509,
"l": 66.078
},
"oklch": {
"l": 0.80998,
"c": 0.08435,
"h": 98.1
},
"luminance": 0.53461
}Semantic roles & 50–950 ramp
primary
#CFC282
secondary
#5461A1
accent
#45B82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380