#C2BD42#C2BD42
#C2BD42 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.0% C 0.142 H 107.0°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).
Color values
| HEX | #C2BD42 |
|---|---|
| RGB | rgb(194, 189, 66) |
| HSL | hsl(58, 51%, 51%) |
| HSV | hsv(58, 66%, 76%) |
| CMYK | cmyk(0%, 2.6%, 66%, 23.9%) |
| CIE-LAB | lab(74.99, -13.08, 60.23) |
| CIE-LCH | lch(74.99, 61.64, 102.25°) |
| OKLab | oklab(77.99% -0.0415 0.1356) |
| OKLCH | oklch(77.99% 0.142 107) |
| XYZ | xyz(41.4306, 48.2592, 12.2858) |
| Luminance | 0.4826 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.57
Vomit Yellow
#C7C10C
ΔE00 4.02
Olive Yellow
#C2B709
ΔE00 4.08
Dirty Yellow
#CDC50A
ΔE00 4.80
Ugly Yellow
#D0C101
ΔE00 5.27
Bile
#B5C306
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2BD42 #4247C2
analogous
#C27D42 #C2BD42 #87C242
triadic
#C2BD42 #42C2BD #BD42C2
tetradic
#C2BD42 #42C27D #4247C2 #C24287
square
#C2BD42 #42C27D #4247C2 #C24287
split-complementary
#C2BD42 #4287C2 #7D42C2
monochromatic
#686522 #969231 #C2BD42 #D1CD70 #E0DD9F
Accessibility & contrast
On white
1.97
#C2BD42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.65
#C2BD42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2BD42
10.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2BD42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2BD42 | 1.00 | 1.97 | 10.65 | 10.65 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB631
Deuteranopia (green-blind)
#CFBB4A
Tritanopia (blue-blind)
#D0B1A4
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #c2bd42; /* rgb */ color: rgb(194, 189, 66); /* oklch */ color: oklch(78.0% 0.142 107.0);
Tailwind
colors: {
custom: {
50: '#d8d07d',
500: '#c2bd42',
950: '#000000',
},
}SCSS
$custom: #c2bd42; $custom-light: #d8d07d; $custom-dark: #000000;
JSON
{
"hex": "#c2bd42",
"rgb": {
"r": 194,
"g": 189,
"b": 66
},
"hsl": {
"h": 57.656,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.77988,
"c": 0.14176,
"h": 107
},
"luminance": 0.48258
}Semantic roles & 50–950 ramp
primary
#C2BD42
secondary
#9496CC
accent
#53DB4D
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C