#C2B462#C2B462
#C2B462 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.4% C 0.105 H 99.8°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B462 |
|---|---|
| RGB | rgb(194, 180, 98) |
| HSL | hsl(51, 44%, 57%) |
| HSV | hsv(51, 49%, 76%) |
| CMYK | cmyk(0%, 7.2%, 49.5%, 23.9%) |
| CIE-LAB | lab(72.89, -6.04, 43.31) |
| CIE-LCH | lch(72.89, 43.73, 97.94°) |
| OKLab | oklab(76.42% -0.0178 0.1031) |
| OKLCH | oklch(76.42% 0.105 99.8) |
| XYZ | xyz(40.7752, 44.9951, 18.0900) |
| Luminance | 0.4499 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 2.67
Desert
#CCAD60
ΔE00 5.50
Khaki (survey)
#AAA662
ΔE00 5.86
Tan (survey)
#D1B26F
ΔE00 6.34
Sand
#C2B280
ΔE00 6.45
Sandy Brown
#C4A661
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B462 #6270C2
analogous
#C28462 #C2B462 #A0C262
triadic
#C2B462 #62C2B4 #B462C2
tetradic
#C2B462 #62C284 #6270C2 #C262A0
square
#C2B462 #62C284 #6270C2 #C262A0
split-complementary
#C2B462 #62A0C2 #8462C2
monochromatic
#7A6F2F #A69741 #C2B462 #D3C98E #E4DEBA
Accessibility & contrast
On white
2.10
#C2B462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.00
#C2B462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B462
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B462 | 1.00 | 2.10 | 10.00 | 10.00 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2B05B
Deuteranopia (green-blind)
#C6B566
Tritanopia (blue-blind)
#CEAAA1
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c2b462; /* rgb */ color: rgb(194, 180, 98); /* oklch */ color: oklch(76.4% 0.105 99.8);
Tailwind
colors: {
custom: {
50: '#d6ca90',
500: '#c2b462',
950: '#000000',
},
}SCSS
$custom: #c2b462; $custom-light: #d6ca90; $custom-dark: #000000;
JSON
{
"hex": "#c2b462",
"rgb": {
"r": 194,
"g": 180,
"b": 98
},
"hsl": {
"h": 51.25,
"s": 44.037,
"l": 57.255
},
"oklch": {
"l": 0.76421,
"c": 0.10466,
"h": 99.8
},
"luminance": 0.44994
}Semantic roles & 50–950 ramp
primary
#C2B462
secondary
#ACB2D3
accent
#67D454
background
#FDFCF9
surface
#FAF8F1
border
#D3D1CB
text
#15130D
muted
#83827E