#C5DF51#C5DF51

#C5DF51 is a very light, vivid yellow-green. Relative luminance 0.652; OKLCH L 85.8% C 0.167 H 118.9°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#C5DF51
RGBrgb(197, 223, 81)
HSLhsl(71, 69%, 60%)
HSVhsv(71, 64%, 87%)
CMYKcmyk(11.7%, 0%, 63.7%, 12.5%)
CIE-LABlab(84.61, -27.62, 64.32)
CIE-LCHlch(84.61, 70.00, 113.24°)
OKLaboklab(85.78% -0.0809 0.1463)
OKLCHoklch(85.78% 0.167 118.9)
XYZxyz(50.8997, 65.2401, 17.6942)
Luminance0.6524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5DF51 #6B51DF
analogous
#DFB251 #C5DF51 #7EDF51
triadic
#C5DF51 #51C5DF #DF51C5
tetradic
#C5DF51 #51DFB2 #6B51DF #DF517E
square
#C5DF51 #51DFB2 #6B51DF #DF517E
split-complementary
#C5DF51 #517EDF #B251DF
monochromatic
#82991C #AECD26 #C5DF51 #D6E985 #E7F2B8

Accessibility & contrast

On white

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

On black

14.05
#C5DF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5DF51
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5DF51#FFFFFF#000000##000000
##C5DF511.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5df51;
/* rgb */ color: rgb(197, 223, 81);
/* oklch */ color: oklch(85.8% 0.167 118.9);
Tailwind
colors: {
  custom: {
    50: '#dae988',
    500: '#c5df51',
    950: '#000000',
  },
}
SCSS
$custom: #c5df51;
$custom-light: #dae988;
$custom-dark: #000000;
JSON
{
  "hex": "#c5df51",
  "rgb": {
    "r": 197,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 70.986,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.85782,
    "c": 0.16719,
    "h": 118.9
  },
  "luminance": 0.6524
}

Semantic roles & 50–950 ramp

primary
#C5DF51
secondary
#4A379D
accent
#3CEC5C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C5DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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