#C5D970#C5D970

#C5D970 is a very light, vivid yellow-green. Relative luminance 0.627; OKLCH L 84.8% C 0.133 H 118.2°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#C5D970
RGBrgb(197, 217, 112)
HSLhsl(71, 58%, 65%)
HSVhsv(71, 48%, 85%)
CMYKcmyk(9.2%, 0%, 48.4%, 14.9%)
CIE-LABlab(83.27, -22.20, 49.09)
CIE-LCHlch(83.27, 53.88, 114.33°)
OKLaboklab(84.8% -0.0627 0.1169)
OKLCHoklch(84.8% 0.133 118.2)
XYZxyz(50.7639, 62.6662, 24.7476)
Luminance0.6267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D970 #8470D9
analogous
#D9B970 #C5D970 #90D970
triadic
#C5D970 #70C5D9 #D970C5
tetradic
#C5D970 #70D9B9 #8470D9 #D97090
square
#C5D970 #70D9B9 #8470D9 #D97090
split-complementary
#C5D970 #7090D9 #B970D9
monochromatic
#8CA32B #B1CC40 #C5D970 #D9E6A0 #ECF3D1

Accessibility & contrast

On white

1.55
#C5D970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#C5D970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D970
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D970#FFFFFF#000000##000000
##C5D9701.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF67
Deuteranopia (green-blind)
#E3D076
Tritanopia (blue-blind)
#CECFC1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c5d970;
/* rgb */ color: rgb(197, 217, 112);
/* oklch */ color: oklch(84.8% 0.133 118.2);
Tailwind
colors: {
  custom: {
    50: '#d8e49b',
    500: '#c5d970',
    950: '#000000',
  },
}
SCSS
$custom: #c5d970;
$custom-light: #d8e49b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d970",
  "rgb": {
    "r": 197,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 71.429,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84802,
    "c": 0.13271,
    "h": 118.2
  },
  "luminance": 0.62666
}

Semantic roles & 50–950 ramp

primary
#C5D970
secondary
#5946A7
accent
#20C63F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C5D970

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

Preview Lab → · Contrast checker → · Palette generator →

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