#C2B23E#C2B23E
#C2B23E is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.6% C 0.134 H 101.4°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B23E |
|---|---|
| RGB | rgb(194, 178, 62) |
| HSL | hsl(53, 52%, 50%) |
| HSV | hsv(53, 68%, 76%) |
| CMYK | cmyk(0%, 8.2%, 68%, 23.9%) |
| CIE-LAB | lab(72.00, -7.64, 58.78) |
| CIE-LCH | lch(72.00, 59.28, 97.41°) |
| OKLab | oklab(75.6% -0.0265 0.1319) |
| OKLCH | oklch(75.6% 0.134 101.4) |
| XYZ | xyz(39.0397, 43.6596, 10.9273) |
| Luminance | 0.4366 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.74
Olive Yellow
#C2B709
ΔE00 4.11
Brownish Yellow
#C9B003
ΔE00 4.35
Mustard (survey)
#CEB301
ΔE00 4.88
Mustard Yellow
#D2BD0A
ΔE00 5.41
Puke Yellow
#C2BE0E
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B23E #3E4EC2
analogous
#C2703E #C2B23E #90C23E
triadic
#C2B23E #3EC2B2 #B23EC2
tetradic
#C2B23E #3EC270 #3E4EC2 #C23E90
square
#C2B23E #3EC270 #3E4EC2 #C23E90
split-complementary
#C2B23E #3E90C2 #703EC2
monochromatic
#665D20 #94882F #C2B23E #D1C56D #DFD79B
Accessibility & contrast
On white
2.16
#C2B23E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#C2B23E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B23E
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B23E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B23E | 1.00 | 2.16 | 9.73 | 9.73 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD2E
Deuteranopia (green-blind)
#C7B345
Tritanopia (blue-blind)
#D1A69A
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c2b23e; /* rgb */ color: rgb(194, 178, 62); /* oklch */ color: oklch(75.6% 0.134 101.4);
Tailwind
colors: {
custom: {
50: '#d8c87a',
500: '#c2b23e',
950: '#000000',
},
}SCSS
$custom: #c2b23e; $custom-light: #d8c87a; $custom-dark: #000000;
JSON
{
"hex": "#c2b23e",
"rgb": {
"r": 194,
"g": 178,
"b": 62
},
"hsl": {
"h": 52.727,
"s": 51.969,
"l": 50.196
},
"oklch": {
"l": 0.75602,
"c": 0.13448,
"h": 101.4
},
"luminance": 0.43658
}Semantic roles & 50–950 ramp
primary
#C2B23E
secondary
#9098CB
accent
#5EDB4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C