#C2B262#C2B262
#C2B262 is a light, moderate yellow. Relative luminance 0.442; OKLCH L 76.0% C 0.103 H 98.3°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B262 |
|---|---|
| RGB | rgb(194, 178, 98) |
| HSL | hsl(50, 44%, 57%) |
| HSV | hsv(50, 49%, 76%) |
| CMYK | cmyk(0%, 8.2%, 49.5%, 23.9%) |
| CIE-LAB | lab(72.36, -4.99, 42.66) |
| CIE-LCH | lch(72.36, 42.95, 96.67°) |
| OKLab | oklab(76% -0.0148 0.1017) |
| OKLCH | oklch(76% 0.103 98.3) |
| XYZ | xyz(40.3743, 44.1935, 17.9564) |
| Luminance | 0.4419 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.23
Desert
#CCAD60
ΔE00 4.77
Sandy Brown
#C4A661
ΔE00 5.69
Tan (survey)
#D1B26F
ΔE00 5.69
Khaki (survey)
#AAA662
ΔE00 5.78
Sandstone
#C9AE74
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B262 #6272C2
analogous
#C28262 #C2B262 #A2C262
triadic
#C2B262 #62C2B2 #B262C2
tetradic
#C2B262 #62C282 #6272C2 #C262A2
square
#C2B262 #62C282 #6272C2 #C262A2
split-complementary
#C2B262 #62A2C2 #8262C2
monochromatic
#7A6E2F #A69541 #C2B262 #D3C88E #E4DDBA
Accessibility & contrast
On white
2.13
#C2B262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.84
#C2B262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B262
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B262 | 1.00 | 2.13 | 9.84 | 9.84 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AE5B
Deuteranopia (green-blind)
#C4B465
Tritanopia (blue-blind)
#CFA89F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #c2b262; /* rgb */ color: rgb(194, 178, 98); /* oklch */ color: oklch(76.0% 0.103 98.3);
Tailwind
colors: {
custom: {
50: '#d6c890',
500: '#c2b262',
950: '#000000',
},
}SCSS
$custom: #c2b262; $custom-light: #d6c890; $custom-dark: #000000;
JSON
{
"hex": "#c2b262",
"rgb": {
"r": 194,
"g": 178,
"b": 98
},
"hsl": {
"h": 50,
"s": 44.037,
"l": 57.255
},
"oklch": {
"l": 0.76,
"c": 0.10278,
"h": 98.3
},
"luminance": 0.44192
}Semantic roles & 50–950 ramp
primary
#C2B262
secondary
#ACB3D3
accent
#69D454
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#15130D
muted
#83827D