#C5E22F#C5E22F

#C5E22F is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.2% C 0.191 H 119.0°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#C5E22F
RGBrgb(197, 226, 47)
HSLhsl(70, 76%, 54%)
HSVhsv(70, 79%, 89%)
CMYKcmyk(12.8%, 0%, 79.2%, 11.4%)
CIE-LABlab(85.23, -30.76, 76.45)
CIE-LCHlch(85.23, 82.41, 111.92°)
OKLaboklab(86.22% -0.0924 0.1666)
OKLCHoklch(86.22% 0.191 119)
XYZxyz(50.7366, 66.4686, 12.8457)
Luminance0.6647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5E22F #4C2FE2
analogous
#E2A62F #C5E22F #6BE22F
triadic
#C5E22F #2FC5E2 #E22FC5
tetradic
#C5E22F #2FE2A6 #4C2FE2 #E22F6B
square
#C5E22F #2FE2A6 #4C2FE2 #E22F6B
split-complementary
#C5E22F #2F6BE2 #A62FE2
monochromatic
#728412 #A0BA1A #C5E22F #D4E965 #E3F19A

Accessibility & contrast

On white

1.47
#C5E22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#C5E22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5E22F
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5E22F#FFFFFF#000000##000000
##C5E22F1.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D500
Deuteranopia (green-blind)
#EED641
Tritanopia (blue-blind)
#D1D5C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #c5e22f;
/* rgb */ color: rgb(197, 226, 47);
/* oklch */ color: oklch(86.2% 0.191 119.0);
Tailwind
colors: {
  custom: {
    50: '#dbeb78',
    500: '#c5e22f',
    950: '#000000',
  },
}
SCSS
$custom: #c5e22f;
$custom-light: #dbeb78;
$custom-dark: #000000;
JSON
{
  "hex": "#c5e22f",
  "rgb": {
    "r": 197,
    "g": 226,
    "b": 47
  },
  "hsl": {
    "h": 69.721,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.86223,
    "c": 0.1905,
    "h": 119
  },
  "luminance": 0.66468
}

Semantic roles & 50–950 ramp

primary
#C5E22F
secondary
#3A2B8A
accent
#36F254
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#15160A
muted
#84847D

Preview Lab

Preview with #C5E22F

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

Preview Lab → · Contrast checker → · Palette generator →

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