#C7DC5E#C7DC5E

#C7DC5E is a very light, vivid yellow-green. Relative luminance 0.641; OKLCH L 85.4% C 0.153 H 117.7°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#C7DC5E
RGBrgb(199, 220, 94)
HSLhsl(70, 64%, 62%)
HSVhsv(70, 57%, 86%)
CMYKcmyk(9.5%, 0%, 57.3%, 13.7%)
CIE-LABlab(84.04, -24.45, 58.28)
CIE-LCHlch(84.04, 63.20, 112.76°)
OKLaboklab(85.4% -0.0709 0.1351)
OKLCHoklch(85.4% 0.153 117.7)
XYZxyz(51.1676, 64.1371, 20.2717)
Luminance0.6414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DC5E #735EDC
analogous
#DCB25E #C7DC5E #88DC5E
triadic
#C7DC5E #5EC7DC #DC5EC7
tetradic
#C7DC5E #5EDCB2 #735EDC #DC5E88
square
#C7DC5E #5EDCB2 #735EDC #DC5E88
split-complementary
#C7DC5E #5E88DC #B25EDC
monochromatic
#899D22 #B5D02D #C7DC5E #D8E790 #EAF2C3

Accessibility & contrast

On white

1.52
#C7DC5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#C7DC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DC5E
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DC5E#FFFFFF#000000##000000
##C7DC5E1.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D150
Deuteranopia (green-blind)
#E7D266
Tritanopia (blue-blind)
#D2D1C1
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c7dc5e;
/* rgb */ color: rgb(199, 220, 94);
/* oklch */ color: oklch(85.4% 0.153 117.7);
Tailwind
colors: {
  custom: {
    50: '#dae690',
    500: '#c7dc5e',
    950: '#000000',
  },
}
SCSS
$custom: #c7dc5e;
$custom-light: #dae690;
$custom-dark: #000000;
JSON
{
  "hex": "#c7dc5e",
  "rgb": {
    "r": 199,
    "g": 220,
    "b": 94
  },
  "hsl": {
    "h": 70,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85395,
    "c": 0.15256,
    "h": 117.7
  },
  "luminance": 0.64137
}

Semantic roles & 50–950 ramp

primary
#C7DC5E
secondary
#4E3DA1
accent
#19CC37
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #C7DC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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