#C5F974#C5F974

#C5F974 is a very light, vivid yellow-green. Relative luminance 0.809; OKLCH L 91.9% C 0.171 H 127.2°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#C5F974
RGBrgb(197, 249, 116)
HSLhsl(83, 92%, 72%)
HSVhsv(83, 53%, 98%)
CMYKcmyk(20.9%, 0%, 53.4%, 2.4%)
CIE-LABlab(92.08, -36.81, 57.71)
CIE-LCHlch(92.08, 68.45, 122.53°)
OKLaboklab(91.9% -0.1034 0.1361)
OKLCHoklch(91.9% 0.171 127.2)
XYZxyz(60.0538, 80.8817, 28.9674)
Luminance0.8088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5F974 #A874F9
analogous
#F9EB74 #C5F974 #83F974
triadic
#C5F974 #74C5F9 #F974C5
tetradic
#C5F974 #74F9EB #A874F9 #F97483
square
#C5F974 #74F9EB #A874F9 #F97483
split-complementary
#C5F974 #7483F9 #EB74F9
monochromatic
#92E90A #ADF639 #C5F974 #DDFCAF #F3FEE2

Accessibility & contrast

On white

1.22
#C5F974 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.18
#C5F974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5F974
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5F974#FFFFFF#000000##000000
##C5F9741.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA67
Deuteranopia (green-blind)
#FDE77C
Tritanopia (blue-blind)
#CBEFDB
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #c5f974;
/* rgb */ color: rgb(197, 249, 116);
/* oklch */ color: oklch(91.9% 0.171 127.2);
Tailwind
colors: {
  custom: {
    50: '#d9fb9f',
    500: '#c5f974',
    950: '#000000',
  },
}
SCSS
$custom: #c5f974;
$custom-light: #d9fb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5f974",
  "rgb": {
    "r": 197,
    "g": 249,
    "b": 116
  },
  "hsl": {
    "h": 83.459,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91904,
    "c": 0.17088,
    "h": 127.2
  },
  "luminance": 0.80883
}

Semantic roles & 50–950 ramp

primary
#C5F974
secondary
#783DD5
accent
#00E65A
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #C5F974

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

Preview Lab → · Contrast checker → · Palette generator →

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