#C5DA42#C5DA42

#C5DA42 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.6% C 0.172 H 117.1°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#C5DA42
RGBrgb(197, 218, 66)
HSLhsl(68, 67%, 56%)
HSVhsv(68, 70%, 85%)
CMYKcmyk(9.6%, 0%, 69.7%, 14.5%)
CIE-LABlab(83.13, -26.14, 68.51)
CIE-LCHlch(83.13, 73.33, 110.88°)
OKLaboklab(84.56% -0.0782 0.1529)
OKLCHoklch(84.56% 0.172 117.1)
XYZxyz(49.0819, 62.4071, 14.6133)
Luminance0.6241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5DA42 #5742DA
analogous
#DAA342 #C5DA42 #79DA42
triadic
#C5DA42 #42C5DA #DA42C5
tetradic
#C5DA42 #42DAA3 #5742DA #DA4279
square
#C5DA42 #42DAA3 #5742DA #DA4279
split-complementary
#C5DA42 #4279DA #A342DA
monochromatic
#78871A #A6BA24 #C5DA42 #D5E475 #E4EEA8

Accessibility & contrast

On white

1.56
#C5DA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#C5DA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5DA42
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5DA42#FFFFFF#000000##000000
##C5DA421.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF28
Deuteranopia (green-blind)
#E7D04E
Tritanopia (blue-blind)
#D1CEBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c5da42;
/* rgb */ color: rgb(197, 218, 66);
/* oklch */ color: oklch(84.6% 0.172 117.1);
Tailwind
colors: {
  custom: {
    50: '#dae580',
    500: '#c5da42',
    950: '#000000',
  },
}
SCSS
$custom: #c5da42;
$custom-light: #dae580;
$custom-dark: #000000;
JSON
{
  "hex": "#c5da42",
  "rgb": {
    "r": 197,
    "g": 218,
    "b": 66
  },
  "hsl": {
    "h": 68.289,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.8456,
    "c": 0.17174,
    "h": 117.1
  },
  "luminance": 0.62406
}

Semantic roles & 50–950 ramp

primary
#C5DA42
secondary
#3F338D
accent
#3EEA55
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5DA42

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

Preview Lab → · Contrast checker → · Palette generator →

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