#C2B545#C2B545
#C2B545 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.3% C 0.132 H 102.7°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B545 |
|---|---|
| RGB | rgb(194, 181, 69) |
| HSL | hsl(54, 51%, 52%) |
| HSV | hsv(54, 64%, 76%) |
| CMYK | cmyk(0%, 6.7%, 64.4%, 23.9%) |
| CIE-LAB | lab(72.86, -8.79, 56.77) |
| CIE-LCH | lch(72.86, 57.44, 98.80°) |
| OKLab | oklab(76.3% -0.029 0.1287) |
| OKLCH | oklch(76.3% 0.132 102.7) |
| XYZ | xyz(39.8478, 44.9483, 12.2060) |
| Luminance | 0.4495 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.35
Muddy Yellow
#BFAC05
ΔE00 4.75
Puke Yellow
#C2BE0E
ΔE00 5.30
Brownish Yellow
#C9B003
ΔE00 5.34
Vomit Yellow
#C7C10C
ΔE00 5.73
Mustard Yellow
#D2BD0A
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B545 #4552C2
analogous
#C27745 #C2B545 #91C245
triadic
#C2B545 #45C2B5 #B545C2
tetradic
#C2B545 #45C277 #4552C2 #C24591
square
#C2B545 #45C277 #4552C2 #C24591
split-complementary
#C2B545 #4591C2 #7745C2
monochromatic
#6A6223 #988D32 #C2B545 #D1C773 #E0DAA1
Accessibility & contrast
On white
2.10
#C2B545 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#C2B545 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B545
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B545 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B545 | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF37
Deuteranopia (green-blind)
#C9B54B
Tritanopia (blue-blind)
#D0A99E
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c2b545; /* rgb */ color: rgb(194, 181, 69); /* oklch */ color: oklch(76.3% 0.132 102.7);
Tailwind
colors: {
custom: {
50: '#d8ca7e',
500: '#c2b545',
950: '#000000',
},
}SCSS
$custom: #c2b545; $custom-light: #d8ca7e; $custom-dark: #000000;
JSON
{
"hex": "#c2b545",
"rgb": {
"r": 194,
"g": 181,
"b": 69
},
"hsl": {
"h": 53.76,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.763,
"c": 0.13194,
"h": 102.7
},
"luminance": 0.44947
}Semantic roles & 50–950 ramp
primary
#C2B545
secondary
#969CCD
accent
#5CDA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C