#C2B345#C2B345
#C2B345 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.9% C 0.130 H 101.5°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B345 |
|---|---|
| RGB | rgb(194, 179, 69) |
| HSL | hsl(53, 51%, 52%) |
| HSV | hsv(53, 64%, 76%) |
| CMYK | cmyk(0%, 7.7%, 64.4%, 23.9%) |
| CIE-LAB | lab(72.32, -7.75, 56.20) |
| CIE-LCH | lch(72.32, 56.73, 97.85°) |
| OKLab | oklab(75.88% -0.026 0.1275) |
| OKLCH | oklch(75.88% 0.13 101.5) |
| XYZ | xyz(39.4440, 44.1408, 12.0714) |
| Luminance | 0.4414 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.53
Olive Yellow
#C2B709
ΔE00 4.66
Brownish Yellow
#C9B003
ΔE00 5.09
Mustard (survey)
#CEB301
ΔE00 5.57
Darkkhaki
#BDB76B
ΔE00 5.85
Puke Yellow
#C2BE0E
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B345 #4554C2
analogous
#C27545 #C2B345 #93C245
triadic
#C2B345 #45C2B3 #B345C2
tetradic
#C2B345 #45C275 #4554C2 #C24593
square
#C2B345 #45C275 #4554C2 #C24593
split-complementary
#C2B345 #4593C2 #7545C2
monochromatic
#6A6123 #988C32 #C2B345 #D1C673 #E0D9A1
Accessibility & contrast
On white
2.14
#C2B345 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#C2B345 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B345
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B345 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B345 | 1.00 | 2.14 | 9.83 | 9.83 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AE37
Deuteranopia (green-blind)
#C7B44B
Tritanopia (blue-blind)
#D0A79C
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #c2b345; /* rgb */ color: rgb(194, 179, 69); /* oklch */ color: oklch(75.9% 0.130 101.5);
Tailwind
colors: {
custom: {
50: '#d8c97e',
500: '#c2b345',
950: '#000000',
},
}SCSS
$custom: #c2b345; $custom-light: #d8c97e; $custom-dark: #000000;
JSON
{
"hex": "#c2b345",
"rgb": {
"r": 194,
"g": 179,
"b": 69
},
"hsl": {
"h": 52.8,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.75875,
"c": 0.13015,
"h": 101.5
},
"luminance": 0.44139
}Semantic roles & 50–950 ramp
primary
#C2B345
secondary
#969DCD
accent
#5FDA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C