#C7D96D#C7D96D

#C7D96D is a very light, vivid yellow-green. Relative luminance 0.629; OKLCH L 84.9% C 0.135 H 117.2°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#C7D96D
RGBrgb(199, 217, 109)
HSLhsl(70, 59%, 64%)
HSVhsv(70, 50%, 85%)
CMYKcmyk(8.3%, 0%, 49.8%, 14.9%)
CIE-LABlab(83.38, -21.70, 50.68)
CIE-LCHlch(83.38, 55.13, 113.18°)
OKLaboklab(84.91% -0.0617 0.1202)
OKLCHoklch(84.91% 0.135 117.2)
XYZxyz(51.1270, 62.8724, 23.9072)
Luminance0.6287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D96D #7F6DD9
analogous
#D9B56D #C7D96D #91D96D
triadic
#C7D96D #6DC7D9 #D96DC7
tetradic
#C7D96D #6DD9B5 #7F6DD9 #D96D91
square
#C7D96D #6DD9B5 #7F6DD9 #D96D91
split-complementary
#C7D96D #6D91D9 #B56DD9
monochromatic
#8EA22A #B4CC3C #C7D96D #DAE69E #ECF2CE

Accessibility & contrast

On white

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

On black

13.57
#C7D96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D96D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D96D#FFFFFF#000000##000000
##C7D96D1.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF63
Deuteranopia (green-blind)
#E4D073
Tritanopia (blue-blind)
#D1CFC0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c7d96d;
/* rgb */ color: rgb(199, 217, 109);
/* oklch */ color: oklch(84.9% 0.135 117.2);
Tailwind
colors: {
  custom: {
    50: '#dae499',
    500: '#c7d96d',
    950: '#000000',
  },
}
SCSS
$custom: #c7d96d;
$custom-light: #dae499;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d96d",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 109
  },
  "hsl": {
    "h": 70,
    "s": 58.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.84914,
    "c": 0.13508,
    "h": 117.2
  },
  "luminance": 0.62872
}

Semantic roles & 50–950 ramp

primary
#C7D96D
secondary
#5545A5
accent
#1FC63B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D96D

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

Preview Lab → · Contrast checker → · Palette generator →

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