#C2B452#C2B452
#C2B452 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.2% C 0.120 H 101.3°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B452 |
|---|---|
| RGB | rgb(194, 180, 82) |
| HSL | hsl(53, 48%, 54%) |
| HSV | hsv(53, 58%, 76%) |
| CMYK | cmyk(0%, 7.2%, 57.7%, 23.9%) |
| CIE-LAB | lab(72.71, -7.38, 50.81) |
| CIE-LCH | lch(72.71, 51.34, 98.26°) |
| OKLab | oklab(76.22% -0.0234 0.1178) |
| OKLCH | oklch(76.22% 0.12 101.3) |
| XYZ | xyz(40.0938, 44.7226, 14.5014) |
| Luminance | 0.4472 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.32
Muddy Yellow
#BFAC05
ΔE00 6.07
Olive Yellow
#C2B709
ΔE00 6.12
Desert
#CCAD60
ΔE00 6.47
Brownish Yellow
#C9B003
ΔE00 6.57
Mustard (survey)
#CEB301
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B452 #5260C2
analogous
#C27C52 #C2B452 #98C252
triadic
#C2B452 #52C2B4 #B452C2
tetradic
#C2B452 #52C27C #5260C2 #C25298
square
#C2B452 #52C27C #5260C2 #C25298
split-complementary
#C2B452 #5298C2 #7C52C2
monochromatic
#726828 #9F9238 #C2B452 #D2C87F #E2DBAC
Accessibility & contrast
On white
2.11
#C2B452 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#C2B452 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B452
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B452 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B452 | 1.00 | 2.11 | 9.94 | 9.94 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AF48
Deuteranopia (green-blind)
#C7B557
Tritanopia (blue-blind)
#CFA99E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c2b452; /* rgb */ color: rgb(194, 180, 82); /* oklch */ color: oklch(76.2% 0.120 101.3);
Tailwind
colors: {
custom: {
50: '#d7ca86',
500: '#c2b452',
950: '#000000',
},
}SCSS
$custom: #c2b452; $custom-light: #d7ca86; $custom-dark: #000000;
JSON
{
"hex": "#c2b452",
"rgb": {
"r": 194,
"g": 180,
"b": 82
},
"hsl": {
"h": 52.5,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.7622,
"c": 0.12013,
"h": 101.3
},
"luminance": 0.44721
}Semantic roles & 50–950 ramp
primary
#C2B452
secondary
#A0A6D0
accent
#61D750
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C