#C7C175#C7C175

#C7C175 is a light, moderate yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.098 H 104.5°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#C7C175
RGBrgb(199, 193, 117)
HSLhsl(56, 42%, 62%)
HSVhsv(56, 41%, 78%)
CMYKcmyk(0%, 3%, 41.2%, 22%)
CIE-LABlab(77.02, -8.86, 38.96)
CIE-LCHlch(77.02, 39.95, 102.81°)
OKLaboklab(79.88% -0.0244 0.0946)
OKLCHoklch(79.88% 0.098 104.5)
XYZxyz(45.8349, 51.5676, 24.3652)
Luminance0.5157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C175 #757BC7
analogous
#C79875 #C7C175 #A4C775
triadic
#C7C175 #75C7C1 #C175C7
tetradic
#C7C175 #75C798 #757BC7 #C775A4
square
#C7C175 #75C798 #757BC7 #C775A4
split-complementary
#C7C175 #75A4C7 #9875C7
monochromatic
#8A8438 #B5AD4A #C7C175 #D9D5A1 #EAE8CC

Accessibility & contrast

On white

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

On black

11.31
#C7C175 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C175
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C175#FFFFFF#000000##000000
##C7C1751.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7c175;
/* rgb */ color: rgb(199, 193, 117);
/* oklch */ color: oklch(79.9% 0.098 104.5);
Tailwind
colors: {
  custom: {
    50: '#d9d39e',
    500: '#c7c175',
    950: '#000000',
  },
}
SCSS
$custom: #c7c175;
$custom-light: #d9d39e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c175",
  "rgb": {
    "r": 199,
    "g": 193,
    "b": 117
  },
  "hsl": {
    "h": 55.61,
    "s": 42.268,
    "l": 61.961
  },
  "oklch": {
    "l": 0.79882,
    "c": 0.09774,
    "h": 104.5
  },
  "luminance": 0.51566
}

Semantic roles & 50–950 ramp

primary
#C7C175
secondary
#4F5491
accent
#3AB530
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C7C175

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

Preview Lab → · Contrast checker → · Palette generator →

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