#C5DF5B#C5DF5B

#C5DF5B is a very light, vivid yellow-green. Relative luminance 0.654; OKLCH L 85.9% C 0.159 H 119.3°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#C5DF5B
RGBrgb(197, 223, 91)
HSLhsl(72, 67%, 62%)
HSVhsv(72, 59%, 87%)
CMYKcmyk(11.7%, 0%, 59.2%, 12.5%)
CIE-LABlab(84.69, -26.91, 60.26)
CIE-LCHlch(84.69, 66.00, 114.06°)
OKLaboklab(85.88% -0.0779 0.139)
OKLCHoklch(85.88% 0.159 119.3)
XYZxyz(51.3027, 65.4013, 19.8165)
Luminance0.6540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5DF5B #755BDF
analogous
#DFB75B #C5DF5B #83DF5B
triadic
#C5DF5B #5BC5DF #DF5BC5
tetradic
#C5DF5B #5BDFB7 #755BDF #DF5B83
square
#C5DF5B #5BDFB7 #755BDF #DF5B83
split-complementary
#C5DF5B #5B83DF #B75BDF
monochromatic
#87A01F #B2D429 #C5DF5B #D7E98E #E9F3C1

Accessibility & contrast

On white

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

On black

14.08
#C5DF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5DF5B
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5DF5B#FFFFFF#000000##000000
##C5DF5B1.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34C
Deuteranopia (green-blind)
#E9D464
Tritanopia (blue-blind)
#CFD4C3
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #c5df5b;
/* rgb */ color: rgb(197, 223, 91);
/* oklch */ color: oklch(85.9% 0.159 119.3);
Tailwind
colors: {
  custom: {
    50: '#d9e98e',
    500: '#c5df5b',
    950: '#000000',
  },
}
SCSS
$custom: #c5df5b;
$custom-light: #d9e98e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5df5b",
  "rgb": {
    "r": 197,
    "g": 223,
    "b": 91
  },
  "hsl": {
    "h": 71.818,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85875,
    "c": 0.15937,
    "h": 119.3
  },
  "luminance": 0.65401
}

Semantic roles & 50–950 ramp

primary
#C5DF5B
secondary
#4F3BA3
accent
#16CF3B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #C5DF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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