#C5DD51#C5DD51

#C5DD51 is a very light, vivid yellow-green. Relative luminance 0.642; OKLCH L 85.3% C 0.165 H 118.3°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#C5DD51
RGBrgb(197, 221, 81)
HSLhsl(70, 67%, 59%)
HSVhsv(70, 63%, 87%)
CMYKcmyk(10.9%, 0%, 63.3%, 13.3%)
CIE-LABlab(84.06, -26.67, 63.74)
CIE-LCHlch(84.06, 69.09, 112.70°)
OKLaboklab(85.34% -0.0782 0.1451)
OKLCHoklch(85.34% 0.165 118.3)
XYZxyz(50.3685, 64.1777, 17.5171)
Luminance0.6418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5DD51 #6951DD
analogous
#DDAF51 #C5DD51 #7FDD51
triadic
#C5DD51 #51C5DD #DD51C5
tetradic
#C5DD51 #51DDAF #6951DD #DD517F
square
#C5DD51 #51DDAF #6951DD #DD517F
split-complementary
#C5DD51 #517FDD #AF51DD
monochromatic
#82961D #AEC927 #C5DD51 #D6E784 #E7F1B7

Accessibility & contrast

On white

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

On black

13.84
#C5DD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5DD51
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5DD51#FFFFFF#000000##000000
##C5DD511.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD13F
Deuteranopia (green-blind)
#E8D25B
Tritanopia (blue-blind)
#D0D2C0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c5dd51;
/* rgb */ color: rgb(197, 221, 81);
/* oklch */ color: oklch(85.3% 0.165 118.3);
Tailwind
colors: {
  custom: {
    50: '#d9e788',
    500: '#c5dd51',
    950: '#000000',
  },
}
SCSS
$custom: #c5dd51;
$custom-light: #d9e788;
$custom-dark: #000000;
JSON
{
  "hex": "#c5dd51",
  "rgb": {
    "r": 197,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 70.286,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.8534,
    "c": 0.16485,
    "h": 118.3
  },
  "luminance": 0.64177
}

Semantic roles & 50–950 ramp

primary
#C5DD51
secondary
#49389B
accent
#3EEA5B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C5DD51

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

Preview Lab → · Contrast checker → · Palette generator →

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