#C5D960#C5D960

#C5D960 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.6% C 0.148 H 117.5°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#C5D960
RGBrgb(197, 217, 96)
HSLhsl(70, 61%, 61%)
HSVhsv(70, 56%, 85%)
CMYKcmyk(9.2%, 0%, 55.8%, 14.9%)
CIE-LABlab(83.09, -23.64, 56.29)
CIE-LCHlch(83.09, 61.05, 112.78°)
OKLaboklab(84.61% -0.0683 0.1311)
OKLCHoklch(84.61% 0.148 117.5)
XYZxyz(49.9509, 62.3410, 20.4657)
Luminance0.6234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D960 #7460D9
analogous
#D9B160 #C5D960 #89D960
triadic
#C5D960 #60C5D9 #D960C5
tetradic
#C5D960 #60D9B1 #7460D9 #D96089
square
#C5D960 #60D9B1 #7460D9 #D96089
split-complementary
#C5D960 #6089D9 #B160D9
monochromatic
#869A25 #B2CB31 #C5D960 #D7E591 #E9F1C3

Accessibility & contrast

On white

1.56
#C5D960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#C5D960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D960
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D960#FFFFFF#000000##000000
##C5D9601.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF53
Deuteranopia (green-blind)
#E4D067
Tritanopia (blue-blind)
#CFCEBE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c5d960;
/* rgb */ color: rgb(197, 217, 96);
/* oklch */ color: oklch(84.6% 0.148 117.5);
Tailwind
colors: {
  custom: {
    50: '#d9e491',
    500: '#c5d960',
    950: '#000000',
  },
}
SCSS
$custom: #c5d960;
$custom-light: #d9e491;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d960",
  "rgb": {
    "r": 197,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 69.917,
    "s": 61.421,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84609,
    "c": 0.14781,
    "h": 117.5
  },
  "luminance": 0.62341
}

Semantic roles & 50–950 ramp

primary
#C5D960
secondary
#4F3F9E
accent
#1CC939
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C5D960

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

Preview Lab → · Contrast checker → · Palette generator →

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