#C4D042#C4D042

#C4D042 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.3% C 0.161 H 114.1°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#C4D042
RGBrgb(196, 208, 66)
HSLhsl(65, 60%, 54%)
HSVhsv(65, 68%, 82%)
CMYKcmyk(5.8%, 0%, 68.3%, 18.4%)
CIE-LABlab(80.32, -21.72, 65.69)
CIE-LCHlch(80.32, 69.19, 108.30°)
OKLaboklab(82.28% -0.0658 0.147)
OKLCHoklch(82.28% 0.161 114.1)
XYZxyz(46.3055, 57.2417, 13.7627)
Luminance0.5724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D042 #4E42D0
analogous
#D09542 #C4D042 #7DD042
triadic
#C4D042 #42C4D0 #D042C4
tetradic
#C4D042 #42D095 #4E42D0 #D0427D
square
#C4D042 #42D095 #4E42D0 #D0427D
split-complementary
#C4D042 #427DD0 #9542D0
monochromatic
#72791E #A0AA2A #C4D042 #D3DC73 #E3E8A4

Accessibility & contrast

On white

1.69
#C4D042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#C4D042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D042
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D042#FFFFFF#000000##000000
##C4D0421.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62C
Deuteranopia (green-blind)
#DEC94D
Tritanopia (blue-blind)
#D1C4B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c4d042;
/* rgb */ color: rgb(196, 208, 66);
/* oklch */ color: oklch(82.3% 0.161 114.1);
Tailwind
colors: {
  custom: {
    50: '#d9de7f',
    500: '#c4d042',
    950: '#000000',
  },
}
SCSS
$custom: #c4d042;
$custom-light: #d9de7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d042",
  "rgb": {
    "r": 196,
    "g": 208,
    "b": 66
  },
  "hsl": {
    "h": 65.07,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82284,
    "c": 0.16107,
    "h": 114.1
  },
  "luminance": 0.57241
}

Semantic roles & 50–950 ramp

primary
#C4D042
secondary
#3B3581
accent
#44E352
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C4D042

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

Preview Lab → · Contrast checker → · Palette generator →

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