#C7D792#C7D792

#C7D792 is a very light, moderate yellow-green. Relative luminance 0.628; OKLCH L 85.1% C 0.092 H 119.0°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#C7D792
RGBrgb(199, 215, 146)
HSLhsl(74, 46%, 71%)
HSVhsv(74, 32%, 84%)
CMYKcmyk(7.4%, 0%, 32.1%, 15.7%)
CIE-LABlab(83.35, -16.57, 32.33)
CIE-LCHlch(83.35, 36.33, 117.13°)
OKLaboklab(85.06% -0.0446 0.0805)
OKLCHoklch(85.06% 0.092 119)
XYZxyz(53.0417, 62.8185, 36.5194)
Luminance0.6282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D792 #A292D7
analogous
#D7C492 #C7D792 #A4D792
triadic
#C7D792 #92C7D7 #D792C7
tetradic
#C7D792 #92D7C4 #A292D7 #D792A4
square
#C7D792 #92D7C4 #A292D7 #D792A4
split-complementary
#C7D792 #92A4D7 #C492D7
monochromatic
#95AF40 #B0C765 #C7D792 #DEE7BF #F3F7E9

Accessibility & contrast

On white

1.55
#C7D792 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#C7D792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D792
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D792#FFFFFF#000000##000000
##C7D7921.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D08D
Deuteranopia (green-blind)
#DED095
Tritanopia (blue-blind)
#CDD0C5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c7d792;
/* rgb */ color: rgb(199, 215, 146);
/* oklch */ color: oklch(85.1% 0.092 119.0);
Tailwind
colors: {
  custom: {
    50: '#d8e3b2',
    500: '#c7d792',
    950: '#000000',
  },
}
SCSS
$custom: #c7d792;
$custom-light: #d8e3b2;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d792",
  "rgb": {
    "r": 199,
    "g": 215,
    "b": 146
  },
  "hsl": {
    "h": 73.913,
    "s": 46.309,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85058,
    "c": 0.09203,
    "h": 119
  },
  "luminance": 0.62818
}

Semantic roles & 50–950 ramp

primary
#C7D792
secondary
#7260AE
accent
#2CBA4D
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#141511
muted
#838481

Preview Lab

Preview with #C7D792

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

Preview Lab → · Contrast checker → · Palette generator →

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