#C6B752#C6B752
#C6B752 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.2% C 0.123 H 100.9°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #C6B752 |
|---|---|
| RGB | rgb(198, 183, 82) |
| HSL | hsl(52, 50%, 55%) |
| HSV | hsv(52, 59%, 78%) |
| CMYK | cmyk(0%, 7.6%, 58.6%, 22.4%) |
| CIE-LAB | lab(73.86, -7.25, 52.20) |
| CIE-LCH | lch(73.86, 52.70, 97.91°) |
| OKLab | oklab(77.22% -0.0233 0.1207) |
| OKLCH | oklch(77.22% 0.123 100.9) |
| XYZ | xyz(41.7467, 46.4836, 14.7542) |
| Luminance | 0.4648 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.76
Olive Yellow
#C2B709
ΔE00 5.77
Muddy Yellow
#BFAC05
ΔE00 6.04
Brownish Yellow
#C9B003
ΔE00 6.27
Mustard (survey)
#CEB301
ΔE00 6.54
Mustard Yellow
#D2BD0A
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6B752 #5261C6
analogous
#C67D52 #C6B752 #9BC652
triadic
#C6B752 #52C6B7 #B752C6
tetradic
#C6B752 #52C67D #5261C6 #C6529B
square
#C6B752 #52C67D #5261C6 #C6529B
split-complementary
#C6B752 #529BC6 #7D52C6
monochromatic
#776C27 #A59636 #C6B752 #D5CA80 #E4DDAE
Accessibility & contrast
On white
2.04
#C6B752 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.30
#C6B752 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6B752
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6B752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6B752 | 1.00 | 2.04 | 10.30 | 10.30 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B247
Deuteranopia (green-blind)
#CBB857
Tritanopia (blue-blind)
#D4ABA1
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #c6b752; /* rgb */ color: rgb(198, 183, 82); /* oklch */ color: oklch(77.2% 0.123 100.9);
Tailwind
colors: {
custom: {
50: '#dacc86',
500: '#c6b752',
950: '#000000',
},
}SCSS
$custom: #c6b752; $custom-light: #dacc86; $custom-dark: #000000;
JSON
{
"hex": "#c6b752",
"rgb": {
"r": 198,
"g": 183,
"b": 82
},
"hsl": {
"h": 52.241,
"s": 50.435,
"l": 54.902
},
"oklch": {
"l": 0.77216,
"c": 0.12294,
"h": 100.9
},
"luminance": 0.46482
}Semantic roles & 50–950 ramp
primary
#C6B752
secondary
#A2A8D2
accent
#60DA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C