#C5DF57#C5DF57

#C5DF57 is a very light, vivid yellow-green. Relative luminance 0.653; OKLCH L 85.8% C 0.163 H 119.1°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#C5DF57
RGBrgb(197, 223, 87)
HSLhsl(71, 68%, 61%)
HSVhsv(71, 61%, 87%)
CMYKcmyk(11.7%, 0%, 61%, 12.5%)
CIE-LABlab(84.66, -27.20, 61.92)
CIE-LCHlch(84.66, 67.63, 113.72°)
OKLaboklab(85.84% -0.0792 0.142)
OKLCHoklch(85.84% 0.163 119.1)
XYZxyz(51.1347, 65.3341, 18.9319)
Luminance0.6533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5DF57 #7157DF
analogous
#DFB557 #C5DF57 #81DF57
triadic
#C5DF57 #57C5DF #DF57C5
tetradic
#C5DF57 #57DFB5 #7157DF #DF5781
square
#C5DF57 #57DFB5 #7157DF #DF5781
split-complementary
#C5DF57 #5781DF #B557DF
monochromatic
#859E1E #B1D128 #C5DF57 #D7E98A #E8F3BE

Accessibility & contrast

On white

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

On black

14.07
#C5DF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5DF57
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5DF57#FFFFFF#000000##000000
##C5DF571.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD347
Deuteranopia (green-blind)
#E9D460
Tritanopia (blue-blind)
#CFD4C2
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #c5df57;
/* rgb */ color: rgb(197, 223, 87);
/* oklch */ color: oklch(85.8% 0.163 119.1);
Tailwind
colors: {
  custom: {
    50: '#d9e98c',
    500: '#c5df57',
    950: '#000000',
  },
}
SCSS
$custom: #c5df57;
$custom-light: #d9e98c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5df57",
  "rgb": {
    "r": 197,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 71.471,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85836,
    "c": 0.1626,
    "h": 119.1
  },
  "luminance": 0.65334
}

Semantic roles & 50–950 ramp

primary
#C5DF57
secondary
#4D39A1
accent
#16D039
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C5DF57

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

Preview Lab → · Contrast checker → · Palette generator →

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