#C7C173#C7C173

#C7C173 is a light, moderate yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.100 H 104.6°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#C7C173
RGBrgb(199, 193, 115)
HSLhsl(56, 43%, 62%)
HSVhsv(56, 42%, 78%)
CMYKcmyk(0%, 3%, 42.2%, 22%)
CIE-LABlab(76.99, -9.07, 39.94)
CIE-LCHlch(76.99, 40.95, 102.80°)
OKLaboklab(79.85% -0.0252 0.0967)
OKLCHoklch(79.85% 0.1 104.6)
XYZxyz(45.7185, 51.5210, 23.7526)
Luminance0.5152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C173 #7379C7
analogous
#C79773 #C7C173 #A3C773
triadic
#C7C173 #73C7C1 #C173C7
tetradic
#C7C173 #73C797 #7379C7 #C773A3
square
#C7C173 #73C797 #7379C7 #C773A3
split-complementary
#C7C173 #73A3C7 #9773C7
monochromatic
#898337 #B5AD48 #C7C173 #D8D49F #EAE8CA

Accessibility & contrast

On white

1.86
#C7C173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#C7C173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C173
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C173#FFFFFF#000000##000000
##C7C1731.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC6D
Deuteranopia (green-blind)
#D0C076
Tritanopia (blue-blind)
#D2B8AE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c7c173;
/* rgb */ color: rgb(199, 193, 115);
/* oklch */ color: oklch(79.9% 0.100 104.6);
Tailwind
colors: {
  custom: {
    50: '#d9d39c',
    500: '#c7c173',
    950: '#000000',
  },
}
SCSS
$custom: #c7c173;
$custom-light: #d9d39c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c173",
  "rgb": {
    "r": 199,
    "g": 193,
    "b": 115
  },
  "hsl": {
    "h": 55.714,
    "s": 42.857,
    "l": 61.569
  },
  "oklch": {
    "l": 0.79851,
    "c": 0.09997,
    "h": 104.6
  },
  "luminance": 0.5152
}

Semantic roles & 50–950 ramp

primary
#C7C173
secondary
#4E5390
accent
#39B630
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C7C173

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

Preview Lab → · Contrast checker → · Palette generator →

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