#C7C79C#C7C79C

#C7C79C is a light, muted yellow. Relative luminance 0.554; OKLCH L 81.9% C 0.058 H 107.6°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#C7C79C
RGBrgb(199, 199, 156)
HSLhsl(60, 28%, 70%)
HSVhsv(60, 22%, 78%)
CMYKcmyk(0%, 0%, 21.6%, 22%)
CIE-LABlab(79.27, -7.06, 21.60)
CIE-LCHlch(79.27, 22.73, 108.10°)
OKLaboklab(81.87% -0.0174 0.055)
OKLCHoklch(81.87% 0.058 107.6)
XYZxyz(49.9771, 55.3899, 39.5046)
Luminance0.5539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C79C #9C9CC7
analogous
#C7B29C #C7C79C #B2C79C
triadic
#C7C79C #9CC7C7 #C79CC7
tetradic
#C7C79C #9CC7B2 #9C9CC7 #C79CB2
square
#C7C79C #9CC7B2 #9C9CC7 #C79CB2
split-complementary
#C7C79C #9CB2C7 #B29CC7
monochromatic
#959554 #B1B175 #C7C79C #DDDDC3 #F3F3EA

Accessibility & contrast

On white

1.74
#C7C79C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#C7C79C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C79C
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C79C#FFFFFF#000000##000000
##C7C79C1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC399
Deuteranopia (green-blind)
#CFC59E
Tritanopia (blue-blind)
#CDC1BB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7c79c;
/* rgb */ color: rgb(199, 199, 156);
/* oklch */ color: oklch(81.9% 0.058 107.6);
Tailwind
colors: {
  custom: {
    50: '#d8d8b9',
    500: '#c7c79c',
    950: '#000000',
  },
}
SCSS
$custom: #c7c79c;
$custom-light: #d8d8b9;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c79c",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 156
  },
  "hsl": {
    "h": 60,
    "s": 27.742,
    "l": 69.608
  },
  "oklch": {
    "l": 0.81874,
    "c": 0.05765,
    "h": 107.6
  },
  "luminance": 0.55389
}

Semantic roles & 50–950 ramp

primary
#C7C79C
secondary
#6C6C9C
accent
#3FA63F
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#141411
muted
#838381

Preview Lab

Preview with #C7C79C

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

Preview Lab → · Contrast checker → · Palette generator →

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