#C2B535#C2B535
#C2B535 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.2% C 0.143 H 103.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B535 |
|---|---|
| RGB | rgb(194, 181, 53) |
| HSL | hsl(54, 57%, 48%) |
| HSV | hsv(54, 73%, 76%) |
| CMYK | cmyk(0%, 6.7%, 72.7%, 23.9%) |
| CIE-LAB | lab(72.74, -9.65, 62.97) |
| CIE-LCH | lch(72.74, 63.71, 98.72°) |
| OKLab | oklab(76.17% -0.0331 0.1391) |
| OKLCH | oklch(76.17% 0.143 103.4) |
| XYZ | xyz(39.4163, 44.7758, 9.9338) |
| Luminance | 0.4477 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 2.70
Muddy Yellow
#BFAC05
ΔE00 3.54
Puke Yellow
#C2BE0E
ΔE00 4.00
Brownish Yellow
#C9B003
ΔE00 4.18
Vomit Yellow
#C7C10C
ΔE00 4.46
Mustard Yellow
#D2BD0A
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B535 #3542C2
analogous
#C26E35 #C2B535 #88C235
triadic
#C2B535 #35C2B5 #B535C2
tetradic
#C2B535 #35C26E #3542C2 #C23588
square
#C2B535 #35C26E #3542C2 #C23588
split-complementary
#C2B535 #3588C2 #6E35C2
monochromatic
#625B1B #928828 #C2B535 #D4C960 #E1D991
Accessibility & contrast
On white
2.11
#C2B535 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.95
#C2B535 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B535
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B535 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B535 | 1.00 | 2.11 | 9.95 | 9.95 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF1E
Deuteranopia (green-blind)
#CAB53E
Tritanopia (blue-blind)
#D1A89C
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c2b535; /* rgb */ color: rgb(194, 181, 53); /* oklch */ color: oklch(76.2% 0.143 103.4);
Tailwind
colors: {
custom: {
50: '#d8ca75',
500: '#c2b535',
950: '#000000',
},
}SCSS
$custom: #c2b535; $custom-light: #d8ca75; $custom-dark: #000000;
JSON
{
"hex": "#c2b535",
"rgb": {
"r": 194,
"g": 181,
"b": 53
},
"hsl": {
"h": 54.468,
"s": 57.085,
"l": 48.431
},
"oklch": {
"l": 0.76173,
"c": 0.143,
"h": 103.4
},
"luminance": 0.44774
}Semantic roles & 50–950 ramp
primary
#C2B535
secondary
#878ECC
accent
#56E047
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B