#C5D42E#C5D42E

#C5D42E is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.1% C 0.176 H 115.0°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#C5D42E
RGBrgb(197, 212, 46)
HSLhsl(65, 66%, 51%)
HSVhsv(65, 78%, 83%)
CMYKcmyk(7.1%, 0%, 78.3%, 16.9%)
CIE-LABlab(81.38, -24.16, 73.29)
CIE-LCHlch(81.38, 77.17, 108.25°)
OKLaboklab(83.12% -0.0743 0.1597)
OKLCHoklch(83.12% 0.176 115)
XYZxyz(47.0640, 59.1554, 11.5231)
Luminance0.5916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D42E #3D2ED4
analogous
#D4902E #C5D42E #72D42E
triadic
#C5D42E #2EC5D4 #D42EC5
tetradic
#C5D42E #2ED490 #3D2ED4 #D42E72
square
#C5D42E #2ED490 #3D2ED4 #D42E72
split-complementary
#C5D42E #2E72D4 #902ED4
monochromatic
#687017 #98A322 #C5D42E #D3DE61 #E1E994

Accessibility & contrast

On white

1.64
#C5D42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#C5D42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D42E
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D42E#FFFFFF#000000##000000
##C5D42E1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4C900
Deuteranopia (green-blind)
#E3CB3E
Tritanopia (blue-blind)
#D2C7B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c5d42e;
/* rgb */ color: rgb(197, 212, 46);
/* oklch */ color: oklch(83.1% 0.176 115.0);
Tailwind
colors: {
  custom: {
    50: '#dbe176',
    500: '#c5d42e',
    950: '#000000',
  },
}
SCSS
$custom: #c5d42e;
$custom-light: #dbe176;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d42e",
  "rgb": {
    "r": 197,
    "g": 212,
    "b": 46
  },
  "hsl": {
    "h": 65.422,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.83119,
    "c": 0.17613,
    "h": 115
  },
  "luminance": 0.59155
}

Semantic roles & 50–950 ramp

primary
#C5D42E
secondary
#342D79
accent
#3FE94E
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C5D42E

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

Preview Lab → · Contrast checker → · Palette generator →

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