#C0B752#C0B752
#C0B752 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.7% C 0.123 H 104.2°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #C0B752 |
|---|---|
| RGB | rgb(192, 183, 82) |
| HSL | hsl(55, 47%, 54%) |
| HSV | hsv(55, 57%, 75%) |
| CMYK | cmyk(0%, 4.7%, 57.3%, 24.7%) |
| CIE-LAB | lab(73.34, -9.78, 51.48) |
| CIE-LCH | lch(73.34, 52.40, 100.76°) |
| OKLab | oklab(76.68% -0.0302 0.1193) |
| OKLCH | oklch(76.68% 0.123 104.2) |
| XYZ | xyz(40.1960, 45.6840, 14.6815) |
| Luminance | 0.4568 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.05
Olive Yellow
#C2B709
ΔE00 5.87
Puke Yellow
#C2BE0E
ΔE00 6.26
Muddy Yellow
#BFAC05
ΔE00 6.57
Vomit Yellow
#C7C10C
ΔE00 6.73
Brownish Yellow
#C9B003
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0B752 #525BC0
analogous
#C08052 #C0B752 #92C052
triadic
#C0B752 #52C0B7 #B752C0
tetradic
#C0B752 #52C080 #525BC0 #C05292
square
#C0B752 #52C080 #525BC0 #C05292
split-complementary
#C0B752 #5292C0 #8052C0
monochromatic
#6F6928 #9C9439 #C0B752 #D0CA7F #E1DCAC
Accessibility & contrast
On white
2.07
#C0B752 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.14
#C0B752 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0B752
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0B752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0B752 | 1.00 | 2.07 | 10.14 | 10.14 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B148
Deuteranopia (green-blind)
#C9B657
Tritanopia (blue-blind)
#CDACA1
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #c0b752; /* rgb */ color: rgb(192, 183, 82); /* oklch */ color: oklch(76.7% 0.123 104.2);
Tailwind
colors: {
custom: {
50: '#d5cc86',
500: '#c0b752',
950: '#000000',
},
}SCSS
$custom: #c0b752; $custom-light: #d5cc86; $custom-dark: #000000;
JSON
{
"hex": "#c0b752",
"rgb": {
"r": 192,
"g": 183,
"b": 82
},
"hsl": {
"h": 55.091,
"s": 46.61,
"l": 53.725
},
"oklch": {
"l": 0.7668,
"c": 0.12305,
"h": 104.2
},
"luminance": 0.45683
}Semantic roles & 50–950 ramp
primary
#C0B752
secondary
#9FA3CE
accent
#5CD652
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#15130B
muted
#83827C