#C5DF2E#C5DF2E

#C5DF2E is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 85.6% C 0.188 H 118.2°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#C5DF2E
RGBrgb(197, 223, 46)
HSLhsl(69, 73%, 53%)
HSVhsv(69, 79%, 87%)
CMYKcmyk(11.7%, 0%, 79.4%, 12.5%)
CIE-LABlab(84.40, -29.39, 75.98)
CIE-LCHlch(84.40, 81.47, 111.15°)
OKLaboklab(85.55% -0.0887 0.1654)
OKLCHoklch(85.55% 0.188 118.2)
XYZxyz(49.9080, 64.8434, 12.4711)
Luminance0.6484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5DF2E #482EDF
analogous
#DFA12E #C5DF2E #6CDF2E
triadic
#C5DF2E #2EC5DF #DF2EC5
tetradic
#C5DF2E #2EDFA1 #482EDF #DF2E6C
square
#C5DF2E #2EDFA1 #482EDF #DF2E6C
split-complementary
#C5DF2E #2E6CDF #A12EDF
monochromatic
#6F7F13 #9EB41C #C5DF2E #D4E763 #E2EF98

Accessibility & contrast

On white

1.50
#C5DF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#C5DF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5DF2E
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5DF2E#FFFFFF#000000##000000
##C5DF2E1.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED200
Deuteranopia (green-blind)
#EBD340
Tritanopia (blue-blind)
#D1D2BF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #c5df2e;
/* rgb */ color: rgb(197, 223, 46);
/* oklch */ color: oklch(85.6% 0.188 118.2);
Tailwind
colors: {
  custom: {
    50: '#dbe877',
    500: '#c5df2e',
    950: '#000000',
  },
}
SCSS
$custom: #c5df2e;
$custom-light: #dbe877;
$custom-dark: #000000;
JSON
{
  "hex": "#c5df2e",
  "rgb": {
    "r": 197,
    "g": 223,
    "b": 46
  },
  "hsl": {
    "h": 68.814,
    "s": 73.444,
    "l": 52.745
  },
  "oklch": {
    "l": 0.85552,
    "c": 0.18771,
    "h": 118.2
  },
  "luminance": 0.64843
}

Semantic roles & 50–950 ramp

primary
#C5DF2E
secondary
#382B86
accent
#38F053
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160A
muted
#84847D

Preview Lab

Preview with #C5DF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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