#C4D42E#C4D42E

#C4D42E is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.0% C 0.176 H 115.3°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#C4D42E
RGBrgb(196, 212, 46)
HSLhsl(66, 66%, 51%)
HSVhsv(66, 78%, 83%)
CMYKcmyk(7.5%, 0%, 78.3%, 16.9%)
CIE-LABlab(81.30, -24.58, 73.20)
CIE-LCHlch(81.30, 77.21, 108.56°)
OKLaboklab(83.04% -0.0754 0.1595)
OKLCHoklch(83.04% 0.176 115.3)
XYZxyz(46.8029, 59.0208, 11.5109)
Luminance0.5902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D42E #3E2ED4
analogous
#D4912E #C4D42E #71D42E
triadic
#C4D42E #2EC4D4 #D42EC4
tetradic
#C4D42E #2ED491 #3E2ED4 #D42E71
square
#C4D42E #2ED491 #3E2ED4 #D42E71
split-complementary
#C4D42E #2E71D4 #912ED4
monochromatic
#687017 #97A322 #C4D42E #D2DE61 #E1E994

Accessibility & contrast

On white

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

On black

12.80
#C4D42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D42E
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D42E#FFFFFF#000000##000000
##C4D42E1.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C900
Deuteranopia (green-blind)
#E2CB3E
Tritanopia (blue-blind)
#D1C7B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c4d42e;
/* rgb */ color: rgb(196, 212, 46);
/* oklch */ color: oklch(83.0% 0.176 115.3);
Tailwind
colors: {
  custom: {
    50: '#dae176',
    500: '#c4d42e',
    950: '#000000',
  },
}
SCSS
$custom: #c4d42e;
$custom-light: #dae176;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d42e",
  "rgb": {
    "r": 196,
    "g": 212,
    "b": 46
  },
  "hsl": {
    "h": 65.783,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.83042,
    "c": 0.17645,
    "h": 115.3
  },
  "luminance": 0.5902
}

Semantic roles & 50–950 ramp

primary
#C4D42E
secondary
#342D79
accent
#3FE94F
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C4D42E

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

Preview Lab → · Contrast checker → · Palette generator →

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