#C5F054#C5F054

#C5F054 is a very light, vivid yellow-green. Relative luminance 0.748; OKLCH L 89.6% C 0.185 H 123.4°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#C5F054
RGBrgb(197, 240, 84)
HSLhsl(77, 84%, 64%)
HSVhsv(77, 65%, 94%)
CMYKcmyk(17.9%, 0%, 65%, 5.9%)
CIE-LABlab(89.31, -35.30, 68.09)
CIE-LCHlch(89.31, 76.70, 117.40°)
OKLaboklab(89.58% -0.1019 0.1547)
OKLCHoklch(89.58% 0.185 123.4)
XYZxyz(55.7868, 74.8303, 19.8905)
Luminance0.7483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F054 #7F54F0
analogous
#F0CD54 #C5F054 #77F054
triadic
#C5F054 #54C5F0 #F054C5
tetradic
#C5F054 #54F0CD #7F54F0 #F05477
square
#C5F054 #54F0CD #7F54F0 #F05477
split-complementary
#C5F054 #5477F0 #CD54F0
monochromatic
#8BB910 #B2EB1C #C5F054 #D8F58C #EBFAC5

Accessibility & contrast

On white

1.32
#C5F054 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#C5F054 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F054
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F054#FFFFFF#000000##000000
##C5F0541.001.3215.9715.97
#FFFFFF1.321.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE23F
Deuteranopia (green-blind)
#F8E060
Tritanopia (blue-blind)
#CEE5D0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #c5f054;
/* rgb */ color: rgb(197, 240, 84);
/* oklch */ color: oklch(89.6% 0.185 123.4);
Tailwind
colors: {
  custom: {
    50: '#daf58b',
    500: '#c5f054',
    950: '#000000',
  },
}
SCSS
$custom: #c5f054;
$custom-light: #daf58b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f054",
  "rgb": {
    "r": 197,
    "g": 240,
    "b": 84
  },
  "hsl": {
    "h": 76.538,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.8958,
    "c": 0.18526,
    "h": 123.4
  },
  "luminance": 0.74831
}

Semantic roles & 50–950 ramp

primary
#C5F054
secondary
#5630B8
accent
#05E042
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C5F054

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

Preview Lab → · Contrast checker → · Palette generator →

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