#C7C596#C7C596

#C7C596 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.063 H 105.7°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#C7C596
RGBrgb(199, 197, 150)
HSLhsl(58, 30%, 68%)
HSVhsv(58, 25%, 78%)
CMYKcmyk(0%, 1%, 24.6%, 22%)
CIE-LABlab(78.62, -6.87, 23.90)
CIE-LCHlch(78.62, 24.87, 106.04°)
OKLaboklab(81.33% -0.017 0.0605)
OKLCHoklch(81.33% 0.063 105.7)
XYZxyz(49.0244, 54.2774, 36.7422)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C596 #9698C7
analogous
#C7AC96 #C7C596 #B0C796
triadic
#C7C596 #96C7C5 #C596C7
tetradic
#C7C596 #96C7AC #9698C7 #C796B0
square
#C7C596 #96C7AC #9698C7 #C796B0
split-complementary
#C7C596 #96B0C7 #AC96C7
monochromatic
#94914F #B2AF6E #C7C596 #DCDBBE #F2F1E6

Accessibility & contrast

On white

1.77
#C7C596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#C7C596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C596
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C596#FFFFFF#000000##000000
##C7C5961.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDC193
Deuteranopia (green-blind)
#CFC498
Tritanopia (blue-blind)
#CEBFB8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7c596;
/* rgb */ color: rgb(199, 197, 150);
/* oklch */ color: oklch(81.3% 0.063 105.7);
Tailwind
colors: {
  custom: {
    50: '#d8d6b5',
    500: '#c7c596',
    950: '#000000',
  },
}
SCSS
$custom: #c7c596;
$custom-light: #d8d6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c596",
  "rgb": {
    "r": 199,
    "g": 197,
    "b": 150
  },
  "hsl": {
    "h": 57.551,
    "s": 30.435,
    "l": 68.431
  },
  "oklch": {
    "l": 0.81329,
    "c": 0.0628,
    "h": 105.7
  },
  "luminance": 0.54277
}

Semantic roles & 50–950 ramp

primary
#C7C596
secondary
#66689C
accent
#41A93C
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#141411
muted
#838381

Preview Lab

Preview with #C7C596

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

Preview Lab → · Contrast checker → · Palette generator →

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