#C7DF5C#C7DF5C

#C7DF5C is a very light, vivid yellow-green. Relative luminance 0.657; OKLCH L 86.0% C 0.158 H 118.6°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#C7DF5C
RGBrgb(199, 223, 92)
HSLhsl(71, 67%, 62%)
HSVhsv(71, 59%, 87%)
CMYKcmyk(10.8%, 0%, 58.7%, 12.5%)
CIE-LABlab(84.84, -26.04, 60.04)
CIE-LCHlch(84.84, 65.44, 113.45°)
OKLaboklab(86.03% -0.0755 0.1386)
OKLCHoklch(86.03% 0.158 118.6)
XYZxyz(51.8734, 65.6905, 20.0700)
Luminance0.6569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DF5C #745CDF
analogous
#DFB55C #C7DF5C #86DF5C
triadic
#C7DF5C #5CC7DF #DF5CC7
tetradic
#C7DF5C #5CDFB5 #745CDF #DF5C86
square
#C7DF5C #5CDFB5 #745CDF #DF5C86
split-complementary
#C7DF5C #5C86DF #B55CDF
monochromatic
#89A120 #B5D42A #C7DF5C #D9E98F #EAF3C2

Accessibility & contrast

On white

1.49
#C7DF5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#C7DF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DF5C
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DF5C#FFFFFF#000000##000000
##C7DF5C1.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD44D
Deuteranopia (green-blind)
#EAD464
Tritanopia (blue-blind)
#D2D4C3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #c7df5c;
/* rgb */ color: rgb(199, 223, 92);
/* oklch */ color: oklch(86.0% 0.158 118.6);
Tailwind
colors: {
  custom: {
    50: '#dbe98f',
    500: '#c7df5c',
    950: '#000000',
  },
}
SCSS
$custom: #c7df5c;
$custom-light: #dbe98f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7df5c",
  "rgb": {
    "r": 199,
    "g": 223,
    "b": 92
  },
  "hsl": {
    "h": 70.992,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.86032,
    "c": 0.15787,
    "h": 118.6
  },
  "luminance": 0.6569
}

Semantic roles & 50–950 ramp

primary
#C7DF5C
secondary
#4E3BA4
accent
#16CF38
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #C7DF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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