#C2B552#C2B552
#C2B552 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.4% C 0.121 H 101.9°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B552 |
|---|---|
| RGB | rgb(194, 181, 82) |
| HSL | hsl(53, 48%, 54%) |
| HSV | hsv(53, 58%, 76%) |
| CMYK | cmyk(0%, 6.7%, 57.7%, 23.9%) |
| CIE-LAB | lab(72.98, -7.90, 51.11) |
| CIE-LCH | lch(72.98, 51.72, 98.79°) |
| OKLab | oklab(76.43% -0.0249 0.1185) |
| OKLCH | oklch(76.43% 0.121 101.9) |
| XYZ | xyz(40.2964, 45.1278, 14.5689) |
| Luminance | 0.4513 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.26
Olive Yellow
#C2B709
ΔE00 5.98
Muddy Yellow
#BFAC05
ΔE00 6.14
Brownish Yellow
#C9B003
ΔE00 6.65
Puke Yellow
#C2BE0E
ΔE00 6.75
Desert
#CCAD60
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B552 #525FC2
analogous
#C27D52 #C2B552 #97C252
triadic
#C2B552 #52C2B5 #B552C2
tetradic
#C2B552 #52C27D #525FC2 #C25297
square
#C2B552 #52C27D #525FC2 #C25297
split-complementary
#C2B552 #5297C2 #7D52C2
monochromatic
#726928 #9F9338 #C2B552 #D2C87F #E2DCAC
Accessibility & contrast
On white
2.09
#C2B552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.03
#C2B552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B552
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B552 | 1.00 | 2.09 | 10.03 | 10.03 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#C8B657
Tritanopia (blue-blind)
#CFAA9F
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c2b552; /* rgb */ color: rgb(194, 181, 82); /* oklch */ color: oklch(76.4% 0.121 101.9);
Tailwind
colors: {
custom: {
50: '#d7ca86',
500: '#c2b552',
950: '#000000',
},
}SCSS
$custom: #c2b552; $custom-light: #d7ca86; $custom-dark: #000000;
JSON
{
"hex": "#c2b552",
"rgb": {
"r": 194,
"g": 181,
"b": 82
},
"hsl": {
"h": 53.036,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.76432,
"c": 0.12107,
"h": 101.9
},
"luminance": 0.45126
}Semantic roles & 50–950 ramp
primary
#C2B552
secondary
#A0A6D0
accent
#60D750
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C