#C7DC8A#C7DC8A

#C7DC8A is a very light, moderate yellow-green. Relative luminance 0.652; OKLCH L 86.0% C 0.108 H 120.4°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#C7DC8A
RGBrgb(199, 220, 138)
HSLhsl(75, 54%, 70%)
HSVhsv(75, 37%, 86%)
CMYKcmyk(9.5%, 0%, 37.3%, 13.7%)
CIE-LABlab(84.57, -20.05, 37.99)
CIE-LCHlch(84.57, 42.96, 117.82°)
OKLaboklab(85.99% -0.0549 0.0934)
OKLCHoklch(85.99% 0.108 120.4)
XYZxyz(53.7338, 65.1636, 33.7869)
Luminance0.6516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DC8A #9F8ADC
analogous
#DCC88A #C7DC8A #9EDC8A
triadic
#C7DC8A #8AC7DC #DC8AC7
tetradic
#C7DC8A #8ADCC8 #9F8ADC #DC8A9E
square
#C7DC8A #8ADCC8 #9F8ADC #DC8A9E
split-complementary
#C7DC8A #8A9EDC #C88ADC
monochromatic
#95B536 #B0CE5B #C7DC8A #DEEAB9 #F4F8E7

Accessibility & contrast

On white

1.50
#C7DC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#C7DC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DC8A
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DC8A#FFFFFF#000000##000000
##C7DC8A1.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D384
Deuteranopia (green-blind)
#E3D38E
Tritanopia (blue-blind)
#CED4C8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #c7dc8a;
/* rgb */ color: rgb(199, 220, 138);
/* oklch */ color: oklch(86.0% 0.108 120.4);
Tailwind
colors: {
  custom: {
    50: '#d9e6ad',
    500: '#c7dc8a',
    950: '#000000',
  },
}
SCSS
$custom: #c7dc8a;
$custom-light: #d9e6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c7dc8a",
  "rgb": {
    "r": 199,
    "g": 220,
    "b": 138
  },
  "hsl": {
    "h": 75.366,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.85992,
    "c": 0.10832,
    "h": 120.4
  },
  "luminance": 0.65163
}

Semantic roles & 50–950 ramp

primary
#C7DC8A
secondary
#6F57B3
accent
#24C14C
background
#FEFEFD
surface
#FBFCF7
border
#D4D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #C7DC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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