#C5F254#C5F254

#C5F254 is a very light, vivid yellow-green. Relative luminance 0.760; OKLCH L 90.0% C 0.188 H 123.8°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#C5F254
RGBrgb(197, 242, 84)
HSLhsl(77, 86%, 64%)
HSVhsv(77, 65%, 95%)
CMYKcmyk(18.6%, 0%, 65.3%, 5.1%)
CIE-LABlab(89.87, -36.21, 68.67)
CIE-LCHlch(89.87, 77.63, 117.80°)
OKLaboklab(90.03% -0.1044 0.1559)
OKLCHoklch(90.03% 0.188 123.8)
XYZxyz(56.3788, 76.0143, 20.0878)
Luminance0.7601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F254 #8154F2
analogous
#F2D054 #C5F254 #76F254
triadic
#C5F254 #54C5F2 #F254C5
tetradic
#C5F254 #54F2D0 #8154F2 #F25476
square
#C5F254 #54F2D0 #8154F2 #F25476
split-complementary
#C5F254 #5476F2 #D054F2
monochromatic
#8BBD0E #B2EE1B #C5F254 #D8F68D #ECFBC6

Accessibility & contrast

On white

1.30
#C5F254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.20
#C5F254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F254
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F254#FFFFFF#000000##000000
##C5F2541.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE33E
Deuteranopia (green-blind)
#F9E260
Tritanopia (blue-blind)
#CEE7D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c5f254;
/* rgb */ color: rgb(197, 242, 84);
/* oklch */ color: oklch(90.0% 0.188 123.8);
Tailwind
colors: {
  custom: {
    50: '#daf68c',
    500: '#c5f254',
    950: '#000000',
  },
}
SCSS
$custom: #c5f254;
$custom-light: #daf68c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f254",
  "rgb": {
    "r": 197,
    "g": 242,
    "b": 84
  },
  "hsl": {
    "h": 77.089,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90026,
    "c": 0.18766,
    "h": 123.8
  },
  "luminance": 0.76015
}

Semantic roles & 50–950 ramp

primary
#C5F254
secondary
#572FBB
accent
#03E243
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C5F254

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

Preview Lab → · Contrast checker → · Palette generator →

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