#C7C79E#C7C79E

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

Color values

HEX#C7C79E
RGBrgb(199, 199, 158)
HSLhsl(60, 27%, 70%)
HSVhsv(60, 21%, 78%)
CMYKcmyk(0%, 0%, 20.6%, 22%)
CIE-LABlab(79.30, -6.77, 20.60)
CIE-LCHlch(79.30, 21.68, 108.19°)
OKLaboklab(81.92% -0.0166 0.0525)
OKLCHoklch(81.92% 0.055 107.6)
XYZxyz(50.1479, 55.4582, 40.4038)
Luminance0.5546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C79E #9E9EC7
analogous
#C7B39E #C7C79E #B3C79E
triadic
#C7C79E #9EC7C7 #C79EC7
tetradic
#C7C79E #9EC7B3 #9E9EC7 #C79EB3
square
#C7C79E #9EC7B3 #9E9EC7 #C79EB3
split-complementary
#C7C79E #9EB2C7 #B29EC7
monochromatic
#959556 #B1B177 #C7C79E #DDDDC5 #F4F4EC

Accessibility & contrast

On white

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

On black

12.09
#C7C79E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C79E
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C79E#FFFFFF#000000##000000
##C7C79E1.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC39B
Deuteranopia (green-blind)
#CFC59F
Tritanopia (blue-blind)
#CDC2BC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7c79e;
/* rgb */ color: rgb(199, 199, 158);
/* oklch */ color: oklch(81.9% 0.055 107.6);
Tailwind
colors: {
  custom: {
    50: '#d8d8ba',
    500: '#c7c79e',
    950: '#000000',
  },
}
SCSS
$custom: #c7c79e;
$custom-light: #d8d8ba;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c79e",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 158
  },
  "hsl": {
    "h": 60,
    "s": 26.797,
    "l": 70
  },
  "oklch": {
    "l": 0.81918,
    "c": 0.05506,
    "h": 107.6
  },
  "luminance": 0.55458
}

Semantic roles & 50–950 ramp

primary
#C7C79E
secondary
#6E6E9C
accent
#40A540
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#141411
muted
#838381

Preview Lab

Preview with #C7C79E

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

Preview Lab → · Contrast checker → · Palette generator →

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