#C5D161#C5D161

#C5D161 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 82.9% C 0.137 H 114.5°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#C5D161
RGBrgb(197, 209, 97)
HSLhsl(66, 55%, 60%)
HSVhsv(66, 54%, 82%)
CMYKcmyk(5.7%, 0%, 53.6%, 18%)
CIE-LABlab(80.92, -19.65, 53.35)
CIE-LCHlch(80.92, 56.85, 110.22°)
OKLaboklab(82.88% -0.0569 0.1249)
OKLCHoklch(82.88% 0.137 114.5)
XYZxyz(47.9850, 58.3350, 20.0389)
Luminance0.5833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D161 #6D61D1
analogous
#D1A561 #C5D161 #8DD161
triadic
#C5D161 #61C5D1 #D161C5
tetradic
#C5D161 #61D1A5 #6D61D1 #D1618D
square
#C5D161 #61D1A5 #6D61D1 #D1618D
split-complementary
#C5D161 #618DD1 #A561D1
monochromatic
#838E29 #AFBE37 #C5D161 #D6DF90 #E8EDC0

Accessibility & contrast

On white

1.66
#C5D161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#C5D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D161
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D161#FFFFFF#000000##000000
##C5D1611.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC856
Deuteranopia (green-blind)
#DDCA67
Tritanopia (blue-blind)
#D0C6B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c5d161;
/* rgb */ color: rgb(197, 209, 97);
/* oklch */ color: oklch(82.9% 0.137 114.5);
Tailwind
colors: {
  custom: {
    50: '#d9df91',
    500: '#c5d161',
    950: '#000000',
  },
}
SCSS
$custom: #c5d161;
$custom-light: #d9df91;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d161",
  "rgb": {
    "r": 197,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 66.429,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.82875,
    "c": 0.13725,
    "h": 114.5
  },
  "luminance": 0.58334
}

Semantic roles & 50–950 ramp

primary
#C5D161
secondary
#4B4294
accent
#4ADE59
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C5D161

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

Preview Lab → · Contrast checker → · Palette generator →

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