#C7C16A#C7C16A
#C7C16A is a light, moderate yellow. Relative luminance 0.513; OKLCH L 79.7% C 0.110 H 105.1°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #C7C16A |
|---|---|
| RGB | rgb(199, 193, 106) |
| HSL | hsl(56, 45%, 60%) |
| HSV | hsv(56, 47%, 78%) |
| CMYK | cmyk(0%, 3%, 46.7%, 22%) |
| CIE-LAB | lab(76.87, -9.97, 44.29) |
| CIE-LCH | lch(76.87, 45.40, 102.69°) |
| OKLab | oklab(79.72% -0.0286 0.1059) |
| OKLCH | oklch(79.72% 0.11 105.1) |
| XYZ | xyz(45.2257, 51.3239, 21.1570) |
| Luminance | 0.5132 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.09
Greenish Beige
#C9D179
ΔE00 5.05
Greenish Tan
#BCCB7A
ΔE00 6.11
Sand (survey)
#E2CA76
ΔE00 6.11
Light Olive
#ACBF69
ΔE00 6.84
Pale Olive
#B9CC81
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7C16A #6A70C7
analogous
#C7936A #C7C16A #9FC76A
triadic
#C7C16A #6AC7C1 #C16AC7
tetradic
#C7C16A #6AC793 #6A70C7 #C76A9F
square
#C7C16A #6AC793 #6A70C7 #C76A9F
split-complementary
#C7C16A #6A9FC7 #936AC7
monochromatic
#857F32 #B1AA43 #C7C16A #D8D496 #E8E6C3
Accessibility & contrast
On white
1.86
#C7C16A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.26
#C7C16A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7C16A
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7C16A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7C16A | 1.00 | 1.86 | 11.26 | 11.26 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBB63
Deuteranopia (green-blind)
#D1C06E
Tritanopia (blue-blind)
#D3B7AC
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #c7c16a; /* rgb */ color: rgb(199, 193, 106); /* oklch */ color: oklch(79.7% 0.110 105.1);
Tailwind
colors: {
custom: {
50: '#dad396',
500: '#c7c16a',
950: '#000000',
},
}SCSS
$custom: #c7c16a; $custom-light: #dad396; $custom-dark: #000000;
JSON
{
"hex": "#c7c16a",
"rgb": {
"r": 199,
"g": 193,
"b": 106
},
"hsl": {
"h": 56.129,
"s": 45.366,
"l": 59.804
},
"oklch": {
"l": 0.79718,
"c": 0.10966,
"h": 105.1
},
"luminance": 0.51323
}Semantic roles & 50–950 ramp
primary
#C7C16A
secondary
#494D8C
accent
#5BD553
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F