#C7C396#C7C396

#C7C396 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 80.9% C 0.060 H 103.4°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#C7C396
RGBrgb(199, 195, 150)
HSLhsl(55, 30%, 68%)
HSVhsv(55, 25%, 78%)
CMYKcmyk(0%, 2%, 24.6%, 22%)
CIE-LABlab(78.10, -5.83, 23.18)
CIE-LCHlch(78.10, 23.91, 104.13°)
OKLaboklab(80.91% -0.014 0.0587)
OKLCHoklch(80.91% 0.06 103.4)
XYZxyz(48.5733, 53.3751, 36.5919)
Luminance0.5337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C396 #969AC7
analogous
#C7AA96 #C7C396 #B2C796
triadic
#C7C396 #96C7C3 #C396C7
tetradic
#C7C396 #96C7AA #969AC7 #C796B2
square
#C7C396 #96C7AA #969AC7 #C796B2
split-complementary
#C7C396 #96B2C7 #AA96C7
monochromatic
#948E4F #B2AC6E #C7C396 #DCDABE #F2F1E6

Accessibility & contrast

On white

1.80
#C7C396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#C7C396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C396
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C396#FFFFFF#000000##000000
##C7C3961.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBC093
Deuteranopia (green-blind)
#CDC298
Tritanopia (blue-blind)
#CFBDB7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c7c396;
/* rgb */ color: rgb(199, 195, 150);
/* oklch */ color: oklch(80.9% 0.060 103.4);
Tailwind
colors: {
  custom: {
    50: '#d8d5b5',
    500: '#c7c396',
    950: '#000000',
  },
}
SCSS
$custom: #c7c396;
$custom-light: #d8d5b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c396",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 150
  },
  "hsl": {
    "h": 55.102,
    "s": 30.435,
    "l": 68.431
  },
  "oklch": {
    "l": 0.80911,
    "c": 0.06037,
    "h": 103.4
  },
  "luminance": 0.53374
}

Semantic roles & 50–950 ramp

primary
#C7C396
secondary
#666A9C
accent
#45A93C
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#141411
muted
#838381

Preview Lab

Preview with #C7C396

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

Preview Lab → · Contrast checker → · Palette generator →

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