#C0B162#C0B162
#C0B162 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.6% C 0.102 H 98.8°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #C0B162 |
|---|---|
| RGB | rgb(192, 177, 98) |
| HSL | hsl(50, 43%, 57%) |
| HSV | hsv(50, 49%, 75%) |
| CMYK | cmyk(0%, 7.8%, 49%, 24.7%) |
| CIE-LAB | lab(71.92, -5.30, 42.09) |
| CIE-LCH | lch(71.92, 42.42, 97.18°) |
| OKLab | oklab(75.61% -0.0156 0.1005) |
| OKLCH | oklch(75.61% 0.102 98.8) |
| XYZ | xyz(39.6661, 43.5340, 17.8664) |
| Luminance | 0.4353 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.03
Desert
#CCAD60
ΔE00 5.01
Khaki (survey)
#AAA662
ΔE00 5.32
Sandy Brown
#C4A661
ΔE00 5.75
Tan (survey)
#D1B26F
ΔE00 5.93
Sand
#C2B280
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0B162 #6271C0
analogous
#C08262 #C0B162 #A0C062
triadic
#C0B162 #62C0B1 #B162C0
tetradic
#C0B162 #62C082 #6271C0 #C062A0
square
#C0B162 #62C082 #6271C0 #C062A0
split-complementary
#C0B162 #62A0C0 #8262C0
monochromatic
#786C30 #A39442 #C0B162 #D2C78E #E3DCB9
Accessibility & contrast
On white
2.16
#C0B162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#C0B162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0B162
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0B162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0B162 | 1.00 | 2.16 | 9.71 | 9.71 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAD5B
Deuteranopia (green-blind)
#C3B365
Tritanopia (blue-blind)
#CCA79E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c0b162; /* rgb */ color: rgb(192, 177, 98); /* oklch */ color: oklch(75.6% 0.102 98.8);
Tailwind
colors: {
custom: {
50: '#d5c890',
500: '#c0b162',
950: '#000000',
},
}SCSS
$custom: #c0b162; $custom-light: #d5c890; $custom-dark: #000000;
JSON
{
"hex": "#c0b162",
"rgb": {
"r": 192,
"g": 177,
"b": 98
},
"hsl": {
"h": 50.426,
"s": 42.727,
"l": 56.863
},
"oklch": {
"l": 0.75608,
"c": 0.10166,
"h": 98.8
},
"luminance": 0.43533
}Semantic roles & 50–950 ramp
primary
#C0B162
secondary
#ACB2D2
accent
#69D355
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130D
muted
#83827D