#C4DC42#C4DC42

#C4DC42 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 84.9% C 0.174 H 118.0°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#C4DC42
RGBrgb(196, 220, 66)
HSLhsl(69, 69%, 56%)
HSVhsv(69, 70%, 86%)
CMYKcmyk(10.9%, 0%, 70%, 13.7%)
CIE-LABlab(83.61, -27.50, 68.96)
CIE-LCHlch(83.61, 74.24, 111.74°)
OKLaboklab(84.93% -0.0819 0.1539)
OKLCHoklch(84.93% 0.174 118)
XYZxyz(49.3426, 63.3160, 14.7750)
Luminance0.6332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4DC42 #5A42DC
analogous
#DCA742 #C4DC42 #77DC42
triadic
#C4DC42 #42C4DC #DC42C4
tetradic
#C4DC42 #42DCA7 #5A42DC #DC4277
square
#C4DC42 #42DCA7 #5A42DC #DC4277
split-complementary
#C4DC42 #4277DC #A742DC
monochromatic
#798A1A #A6BE23 #C4DC42 #D4E676 #E4EFA9

Accessibility & contrast

On white

1.54
#C4DC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#C4DC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4DC42
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4DC42#FFFFFF#000000##000000
##C4DC421.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD027
Deuteranopia (green-blind)
#E8D14E
Tritanopia (blue-blind)
#D0D0BE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c4dc42;
/* rgb */ color: rgb(196, 220, 66);
/* oklch */ color: oklch(84.9% 0.174 118.0);
Tailwind
colors: {
  custom: {
    50: '#d9e680',
    500: '#c4dc42',
    950: '#000000',
  },
}
SCSS
$custom: #c4dc42;
$custom-light: #d9e680;
$custom-dark: #000000;
JSON
{
  "hex": "#c4dc42",
  "rgb": {
    "r": 196,
    "g": 220,
    "b": 66
  },
  "hsl": {
    "h": 69.351,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.84928,
    "c": 0.17433,
    "h": 118
  },
  "luminance": 0.63316
}

Semantic roles & 50–950 ramp

primary
#C4DC42
secondary
#413290
accent
#3CEC58
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C4DC42

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

Preview Lab → · Contrast checker → · Palette generator →

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