#C5DD42#C5DD42

#C5DD42 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.2% C 0.175 H 118.0°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#C5DD42
RGBrgb(197, 221, 66)
HSLhsl(69, 70%, 56%)
HSVhsv(69, 70%, 87%)
CMYKcmyk(10.9%, 0%, 70.1%, 13.3%)
CIE-LABlab(83.95, -27.57, 69.33)
CIE-LCHlch(83.95, 74.61, 111.68°)
OKLaboklab(85.22% -0.0821 0.1546)
OKLCHoklch(85.22% 0.175 118)
XYZxyz(49.8669, 63.9770, 14.8750)
Luminance0.6398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5DD42 #5A42DD
analogous
#DDA842 #C5DD42 #78DD42
triadic
#C5DD42 #42C5DD #DD42C5
tetradic
#C5DD42 #42DDA8 #5A42DD #DD4278
square
#C5DD42 #42DDA8 #5A42DD #DD4278
split-complementary
#C5DD42 #4278DD #A842DD
monochromatic
#7A8C19 #A7BF22 #C5DD42 #D5E676 #E5F0AA

Accessibility & contrast

On white

1.52
#C5DD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#C5DD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5DD42
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5DD42#FFFFFF#000000##000000
##C5DD421.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD127
Deuteranopia (green-blind)
#E9D24F
Tritanopia (blue-blind)
#D1D1BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c5dd42;
/* rgb */ color: rgb(197, 221, 66);
/* oklch */ color: oklch(85.2% 0.175 118.0);
Tailwind
colors: {
  custom: {
    50: '#dae780',
    500: '#c5dd42',
    950: '#000000',
  },
}
SCSS
$custom: #c5dd42;
$custom-light: #dae780;
$custom-dark: #000000;
JSON
{
  "hex": "#c5dd42",
  "rgb": {
    "r": 197,
    "g": 221,
    "b": 66
  },
  "hsl": {
    "h": 69.29,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85223,
    "c": 0.1751,
    "h": 118
  },
  "luminance": 0.63977
}

Semantic roles & 50–950 ramp

primary
#C5DD42
secondary
#413291
accent
#3BEC57
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C5DD42

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

Preview Lab → · Contrast checker → · Palette generator →

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