#C7DF8A#C7DF8A

#C7DF8A is a very light, moderate yellow-green. Relative luminance 0.668; OKLCH L 86.6% C 0.113 H 121.6°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#C7DF8A
RGBrgb(199, 223, 138)
HSLhsl(77, 57%, 71%)
HSVhsv(77, 38%, 87%)
CMYKcmyk(10.8%, 0%, 38.1%, 12.5%)
CIE-LABlab(85.38, -21.52, 39.04)
CIE-LCHlch(85.38, 44.57, 118.86°)
OKLaboklab(86.64% -0.059 0.0958)
OKLCHoklch(86.64% 0.113 121.6)
XYZxyz(54.5282, 66.7524, 34.0517)
Luminance0.6675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DF8A #A28ADF
analogous
#DFCC8A #C7DF8A #9CDF8A
triadic
#C7DF8A #8AC7DF #DF8AC7
tetradic
#C7DF8A #8ADFCC #A28ADF #DF8A9C
square
#C7DF8A #8ADFCC #A28ADF #DF8A9C
split-complementary
#C7DF8A #8A9CDF #CC8ADF
monochromatic
#95BB33 #B0D25A #C7DF8A #DEECBA #F3F8E7

Accessibility & contrast

On white

1.46
#C7DF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#C7DF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DF8A
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DF8A#FFFFFF#000000##000000
##C7DF8A1.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D684
Deuteranopia (green-blind)
#E5D58E
Tritanopia (blue-blind)
#CED7CA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #c7df8a;
/* rgb */ color: rgb(199, 223, 138);
/* oklch */ color: oklch(86.6% 0.113 121.6);
Tailwind
colors: {
  custom: {
    50: '#d9e9ad',
    500: '#c7df8a',
    950: '#000000',
  },
}
SCSS
$custom: #c7df8a;
$custom-light: #d9e9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c7df8a",
  "rgb": {
    "r": 199,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 76.941,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.8664,
    "c": 0.11252,
    "h": 121.6
  },
  "luminance": 0.66752
}

Semantic roles & 50–950 ramp

primary
#C7DF8A
secondary
#7257B7
accent
#21C54F
background
#FEFEFD
surface
#FBFCF7
border
#D4D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #C7DF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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