#C5D342#C5D342

#C5D342 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.0% C 0.164 H 114.8°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#C5D342
RGBrgb(197, 211, 66)
HSLhsl(66, 62%, 54%)
HSVhsv(66, 69%, 83%)
CMYKcmyk(6.6%, 0%, 68.7%, 17.3%)
CIE-LABlab(81.21, -22.77, 66.61)
CIE-LCHlch(81.21, 70.39, 108.87°)
OKLaboklab(83.02% -0.0688 0.1489)
OKLCHoklch(83.02% 0.164 114.8)
XYZxyz(47.3048, 58.8530, 14.0210)
Luminance0.5885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D342 #5042D3
analogous
#D39942 #C5D342 #7DD342
triadic
#C5D342 #42C5D3 #D342C5
tetradic
#C5D342 #42D399 #5042D3 #D3427D
square
#C5D342 #42D399 #5042D3 #D3427D
split-complementary
#C5D342 #427DD3 #9942D3
monochromatic
#747D1D #A2AF29 #C5D342 #D4DF74 #E3EAA5

Accessibility & contrast

On white

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

On black

12.77
#C5D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D342
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D342#FFFFFF#000000##000000
##C5D3421.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5d342;
/* rgb */ color: rgb(197, 211, 66);
/* oklch */ color: oklch(83.0% 0.164 114.8);
Tailwind
colors: {
  custom: {
    50: '#dae07f',
    500: '#c5d342',
    950: '#000000',
  },
}
SCSS
$custom: #c5d342;
$custom-light: #dae07f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d342",
  "rgb": {
    "r": 197,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 65.793,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8302,
    "c": 0.16404,
    "h": 114.8
  },
  "luminance": 0.58852
}

Semantic roles & 50–950 ramp

primary
#C5D342
secondary
#3C3485
accent
#42E552
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D342

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

Preview Lab → · Contrast checker → · Palette generator →

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