#C5D53A#C5D53A

#C5D53A is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.4% C 0.171 H 115.4°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#C5D53A
RGBrgb(197, 213, 58)
HSLhsl(66, 65%, 53%)
HSVhsv(66, 73%, 84%)
CMYKcmyk(7.5%, 0%, 72.8%, 16.5%)
CIE-LABlab(81.71, -24.14, 69.91)
CIE-LCHlch(81.71, 73.96, 109.05°)
OKLaboklab(83.41% -0.0733 0.1545)
OKLCHoklch(83.41% 0.171 115.4)
XYZxyz(47.5852, 59.7651, 13.0312)
Luminance0.5976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D53A #4A3AD5
analogous
#D5983A #C5D53A #77D53A
triadic
#C5D53A #3AC5D5 #D53AC5
tetradic
#C5D53A #3AD598 #4A3AD5 #D53A77
square
#C5D53A #3AD598 #4A3AD5 #D53A77
split-complementary
#C5D53A #3A77D5 #983AD5
monochromatic
#717A1A #9FAD25 #C5D53A #D4E06C #E3EB9F

Accessibility & contrast

On white

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

On black

12.95
#C5D53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D53A
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D53A#FFFFFF#000000##000000
##C5D53A1.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA1A
Deuteranopia (green-blind)
#E3CC47
Tritanopia (blue-blind)
#D2C9B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c5d53a;
/* rgb */ color: rgb(197, 213, 58);
/* oklch */ color: oklch(83.4% 0.171 115.4);
Tailwind
colors: {
  custom: {
    50: '#dae17b',
    500: '#c5d53a',
    950: '#000000',
  },
}
SCSS
$custom: #c5d53a;
$custom-light: #dae17b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d53a",
  "rgb": {
    "r": 197,
    "g": 213,
    "b": 58
  },
  "hsl": {
    "h": 66.194,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.83406,
    "c": 0.17106,
    "h": 115.4
  },
  "luminance": 0.59764
}

Semantic roles & 50–950 ramp

primary
#C5D53A
secondary
#393182
accent
#40E851
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D53A

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

Preview Lab → · Contrast checker → · Palette generator →

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