#C5D43A#C5D43A

#C5D43A is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.2% C 0.170 H 115.1°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#C5D43A
RGBrgb(197, 212, 58)
HSLhsl(66, 64%, 53%)
HSVhsv(66, 73%, 83%)
CMYKcmyk(7.1%, 0%, 72.6%, 16.9%)
CIE-LABlab(81.44, -23.66, 69.64)
CIE-LCHlch(81.44, 73.55, 108.76°)
OKLaboklab(83.19% -0.072 0.154)
OKLCHoklch(83.19% 0.17 115.1)
XYZxyz(47.3345, 59.2636, 12.9477)
Luminance0.5926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D43A #493AD4
analogous
#D4963A #C5D43A #78D43A
triadic
#C5D43A #3AC5D4 #D43AC5
tetradic
#C5D43A #3AD496 #493AD4 #D43A78
square
#C5D43A #3AD496 #493AD4 #D43A78
split-complementary
#C5D43A #3A78D4 #963AD4
monochromatic
#70791A #9EAB25 #C5D43A #D4DF6C #E3EA9E

Accessibility & contrast

On white

1.63
#C5D43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#C5D43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D43A
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D43A#FFFFFF#000000##000000
##C5D43A1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C91B
Deuteranopia (green-blind)
#E2CC47
Tritanopia (blue-blind)
#D2C8B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c5d43a;
/* rgb */ color: rgb(197, 212, 58);
/* oklch */ color: oklch(83.2% 0.170 115.1);
Tailwind
colors: {
  custom: {
    50: '#dae17b',
    500: '#c5d43a',
    950: '#000000',
  },
}
SCSS
$custom: #c5d43a;
$custom-light: #dae17b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d43a",
  "rgb": {
    "r": 197,
    "g": 212,
    "b": 58
  },
  "hsl": {
    "h": 65.844,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.83186,
    "c": 0.16999,
    "h": 115.1
  },
  "luminance": 0.59263
}

Semantic roles & 50–950 ramp

primary
#C5D43A
secondary
#393181
accent
#41E751
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D43A

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

Preview Lab → · Contrast checker → · Palette generator →

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