#C2B451#C2B451
#C2B451 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.2% C 0.121 H 101.3°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B451 |
|---|---|
| RGB | rgb(194, 180, 81) |
| HSL | hsl(53, 48%, 54%) |
| HSV | hsv(53, 58%, 76%) |
| CMYK | cmyk(0%, 7.2%, 58.2%, 23.9%) |
| CIE-LAB | lab(72.70, -7.45, 51.26) |
| CIE-LCH | lch(72.70, 51.80, 98.27°) |
| OKLab | oklab(76.21% -0.0238 0.1187) |
| OKLCH | oklch(76.21% 0.121 101.3) |
| XYZ | xyz(40.0560, 44.7075, 14.3024) |
| Luminance | 0.4471 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.44
Muddy Yellow
#BFAC05
ΔE00 5.95
Olive Yellow
#C2B709
ΔE00 5.99
Brownish Yellow
#C9B003
ΔE00 6.45
Desert
#CCAD60
ΔE00 6.54
Mustard (survey)
#CEB301
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B451 #515FC2
analogous
#C27C51 #C2B451 #98C251
triadic
#C2B451 #51C2B4 #B451C2
tetradic
#C2B451 #51C27C #515FC2 #C25198
square
#C2B451 #51C27C #515FC2 #C25198
split-complementary
#C2B451 #5198C2 #7C51C2
monochromatic
#716828 #9E9237 #C2B451 #D2C87E #E2DBAC
Accessibility & contrast
On white
2.11
#C2B451 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#C2B451 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B451
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B451 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B451 | 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)
#C3AF47
Deuteranopia (green-blind)
#C7B556
Tritanopia (blue-blind)
#D0A99E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c2b451; /* rgb */ color: rgb(194, 180, 81); /* oklch */ color: oklch(76.2% 0.121 101.3);
Tailwind
colors: {
custom: {
50: '#d7ca85',
500: '#c2b451',
950: '#000000',
},
}SCSS
$custom: #c2b451; $custom-light: #d7ca85; $custom-dark: #000000;
JSON
{
"hex": "#c2b451",
"rgb": {
"r": 194,
"g": 180,
"b": 81
},
"hsl": {
"h": 52.566,
"s": 48.085,
"l": 53.922
},
"oklch": {
"l": 0.76209,
"c": 0.12103,
"h": 101.3
},
"luminance": 0.44706
}Semantic roles & 50–950 ramp
primary
#C2B451
secondary
#9FA5D0
accent
#61D850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C