#C4D542#C4D542

#C4D542 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.4% C 0.167 H 115.8°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#C4D542
RGBrgb(196, 213, 66)
HSLhsl(67, 64%, 55%)
HSVhsv(67, 69%, 84%)
CMYKcmyk(8%, 0%, 69%, 16.5%)
CIE-LABlab(81.68, -24.15, 67.06)
CIE-LCHlch(81.68, 71.27, 109.81°)
OKLaboklab(83.38% -0.0726 0.1499)
OKLCHoklch(83.38% 0.167 115.8)
XYZxyz(47.5438, 59.7183, 14.1754)
Luminance0.5972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D542 #5342D5
analogous
#D59D42 #C4D542 #7AD542
triadic
#C4D542 #42C4D5 #D542C4
tetradic
#C4D542 #42D59D #5342D5 #D5427A
square
#C4D542 #42D59D #5342D5 #D5427A
split-complementary
#C4D542 #427AD5 #9D42D5
monochromatic
#75801C #A2B228 #C4D542 #D4E074 #E3EBA6

Accessibility & contrast

On white

1.62
#C4D542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#C4D542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D542
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D542#FFFFFF#000000##000000
##C4D5421.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA2A
Deuteranopia (green-blind)
#E2CC4D
Tritanopia (blue-blind)
#D0C9B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c4d542;
/* rgb */ color: rgb(196, 213, 66);
/* oklch */ color: oklch(83.4% 0.167 115.8);
Tailwind
colors: {
  custom: {
    50: '#d9e17f',
    500: '#c4d542',
    950: '#000000',
  },
}
SCSS
$custom: #c4d542;
$custom-light: #d9e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d542",
  "rgb": {
    "r": 196,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 66.939,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83382,
    "c": 0.16654,
    "h": 115.8
  },
  "luminance": 0.59718
}

Semantic roles & 50–950 ramp

primary
#C4D542
secondary
#3E3487
accent
#41E754
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C4D542

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

Preview Lab → · Contrast checker → · Palette generator →

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