#C5F251#C5F251

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

Color values

HEX#C5F251
RGBrgb(197, 242, 81)
HSLhsl(77, 86%, 63%)
HSVhsv(77, 67%, 95%)
CMYKcmyk(18.6%, 0%, 66.5%, 5.1%)
CIE-LABlab(89.84, -36.40, 69.79)
CIE-LCHlch(89.84, 78.71, 117.55°)
OKLaboklab(90% -0.1052 0.1578)
OKLCHoklch(90% 0.19 123.7)
XYZxyz(56.2638, 75.9683, 19.4822)
Luminance0.7597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F251 #7E51F2
analogous
#F2CE51 #C5F251 #74F251
triadic
#C5F251 #51C5F2 #F251C5
tetradic
#C5F251 #51F2CE #7E51F2 #F25174
square
#C5F251 #51F2CE #7E51F2 #F25174
split-complementary
#C5F251 #5174F2 #CE51F2
monochromatic
#8ABB0E #B2EE18 #C5F251 #D8F68A #EBFBC3

Accessibility & contrast

On white

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

On black

16.19
#C5F251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F251
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F251#FFFFFF#000000##000000
##C5F2511.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE33A
Deuteranopia (green-blind)
#F9E25E
Tritanopia (blue-blind)
#CEE6D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c5f251;
/* rgb */ color: rgb(197, 242, 81);
/* oklch */ color: oklch(90.0% 0.190 123.7);
Tailwind
colors: {
  custom: {
    50: '#daf68a',
    500: '#c5f251',
    950: '#000000',
  },
}
SCSS
$custom: #c5f251;
$custom-light: #daf68a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f251",
  "rgb": {
    "r": 197,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 76.77,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.90002,
    "c": 0.18971,
    "h": 123.7
  },
  "luminance": 0.75969
}

Semantic roles & 50–950 ramp

primary
#C5F251
secondary
#552EB9
accent
#03E341
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C5F251

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

Preview Lab → · Contrast checker → · Palette generator →

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