#C5D542#C5D542

#C5D542 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.5% C 0.166 H 115.5°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#C5D542
RGBrgb(197, 213, 66)
HSLhsl(67, 64%, 55%)
HSVhsv(67, 69%, 84%)
CMYKcmyk(7.5%, 0%, 69%, 16.5%)
CIE-LABlab(81.76, -23.74, 67.15)
CIE-LCHlch(81.76, 71.23, 109.47°)
OKLaboklab(83.46% -0.0715 0.1501)
OKLCHoklch(83.46% 0.166 115.5)
XYZxyz(47.8048, 59.8529, 14.1877)
Luminance0.5985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D542 #5242D5
analogous
#D59C42 #C5D542 #7BD542
triadic
#C5D542 #42C5D5 #D542C5
tetradic
#C5D542 #42D59C #5242D5 #D5427B
square
#C5D542 #42D59C #5242D5 #D5427B
split-complementary
#C5D542 #427BD5 #9C42D5
monochromatic
#75801C #A3B228 #C5D542 #D4E074 #E4EBA6

Accessibility & contrast

On white

1.62
#C5D542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#C5D542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D542
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D542#FFFFFF#000000##000000
##C5D5421.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA2A
Deuteranopia (green-blind)
#E3CC4D
Tritanopia (blue-blind)
#D1C9B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c5d542;
/* rgb */ color: rgb(197, 213, 66);
/* oklch */ color: oklch(83.5% 0.166 115.5);
Tailwind
colors: {
  custom: {
    50: '#dae17f',
    500: '#c5d542',
    950: '#000000',
  },
}
SCSS
$custom: #c5d542;
$custom-light: #dae17f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d542",
  "rgb": {
    "r": 197,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 66.531,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83459,
    "c": 0.16622,
    "h": 115.5
  },
  "luminance": 0.59852
}

Semantic roles & 50–950 ramp

primary
#C5D542
secondary
#3D3487
accent
#41E753
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D542

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

Preview Lab → · Contrast checker → · Palette generator →

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