#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
RGBrgb(199, 193, 106)
HSLhsl(56, 45%, 60%)
HSVhsv(56, 47%, 78%)
CMYKcmyk(0%, 3%, 46.7%, 22%)
CIE-LABlab(76.87, -9.97, 44.29)
CIE-LCHlch(76.87, 45.40, 102.69°)
OKLaboklab(79.72% -0.0286 0.1059)
OKLCHoklch(79.72% 0.11 105.1)
XYZxyz(45.2257, 51.3239, 21.1570)
Luminance0.5132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##C7C16A1.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.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

Preview Lab

Preview with #C7C16A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C7C16A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva