#C5DF56#C5DF56

#C5DF56 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.06:1 contrast (WCAG AA passes).

Color values

HEX#C5DF56
RGBrgb(197, 223, 86)
HSLhsl(71, 68%, 61%)
HSVhsv(71, 61%, 87%)
CMYKcmyk(11.7%, 0%, 61.4%, 12.5%)
CIE-LABlab(84.65, -27.27, 62.32)
CIE-LCHlch(84.65, 68.03, 113.64°)
OKLaboklab(85.83% -0.0795 0.1428)
OKLCHoklch(85.83% 0.163 119.1)
XYZxyz(51.0942, 65.3179, 18.7182)
Luminance0.6532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5DF56 #7056DF
analogous
#DFB456 #C5DF56 #80DF56
triadic
#C5DF56 #56C5DF #DF56C5
tetradic
#C5DF56 #56DFB4 #7056DF #DF5680
square
#C5DF56 #56DFB4 #7056DF #DF5680
split-complementary
#C5DF56 #5680DF #B456DF
monochromatic
#859D1E #B0D027 #C5DF56 #D7E989 #E8F2BD

Accessibility & contrast

On white

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

On black

14.06
#C5DF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5DF56
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5DF56#FFFFFF#000000##000000
##C5DF561.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD345
Deuteranopia (green-blind)
#EAD45F
Tritanopia (blue-blind)
#D0D4C2
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #c5df56;
/* rgb */ color: rgb(197, 223, 86);
/* oklch */ color: oklch(85.8% 0.163 119.1);
Tailwind
colors: {
  custom: {
    50: '#d9e98b',
    500: '#c5df56',
    950: '#000000',
  },
}
SCSS
$custom: #c5df56;
$custom-light: #d9e98b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5df56",
  "rgb": {
    "r": 197,
    "g": 223,
    "b": 86
  },
  "hsl": {
    "h": 71.387,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85826,
    "c": 0.16339,
    "h": 119.1
  },
  "luminance": 0.65318
}

Semantic roles & 50–950 ramp

primary
#C5DF56
secondary
#4C39A0
accent
#15D039
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C5DF56

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

Preview Lab → · Contrast checker → · Palette generator →

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