#C5F754#C5F754

#C5F754 is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 91.1% C 0.194 H 124.8°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#C5F754
RGBrgb(197, 247, 84)
HSLhsl(78, 91%, 65%)
HSVhsv(78, 66%, 97%)
CMYKcmyk(20.2%, 0%, 66%, 3.1%)
CIE-LABlab(91.25, -38.45, 70.11)
CIE-LCHlch(91.25, 79.97, 118.74°)
OKLaboklab(91.14% -0.1106 0.1589)
OKLCHoklch(91.14% 0.194 124.8)
XYZxyz(57.8873, 79.0313, 20.5906)
Luminance0.7903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F754 #8654F7
analogous
#F7D854 #C5F754 #74F754
triadic
#C5F754 #54C5F7 #F754C5
tetradic
#C5F754 #54F7D8 #8654F7 #F75474
square
#C5F754 #54F7D8 #8654F7 #F75474
split-complementary
#C5F754 #5474F7 #D854F7
monochromatic
#8DC709 #B1F41A #C5F754 #D9FA8E #EDFCC9

Accessibility & contrast

On white

1.25
#C5F754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.81
#C5F754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F754
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F754#FFFFFF#000000##000000
##C5F7541.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE83D
Deuteranopia (green-blind)
#FDE561
Tritanopia (blue-blind)
#CDECD6
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #c5f754;
/* rgb */ color: rgb(197, 247, 84);
/* oklch */ color: oklch(91.1% 0.194 124.8);
Tailwind
colors: {
  custom: {
    50: '#dafa8c',
    500: '#c5f754',
    950: '#000000',
  },
}
SCSS
$custom: #c5f754;
$custom-light: #dafa8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f754",
  "rgb": {
    "r": 197,
    "g": 247,
    "b": 84
  },
  "hsl": {
    "h": 78.405,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.91143,
    "c": 0.19365,
    "h": 124.8
  },
  "luminance": 0.79032
}

Semantic roles & 50–950 ramp

primary
#C5F754
secondary
#5A2BC4
accent
#00E646
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C5F754

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

Preview Lab → · Contrast checker → · Palette generator →

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