#C4D742#C4D742

#C4D742 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 83.8% C 0.169 H 116.5°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#C4D742
RGBrgb(196, 215, 66)
HSLhsl(68, 65%, 55%)
HSVhsv(68, 69%, 84%)
CMYKcmyk(8.8%, 0%, 69.3%, 15.7%)
CIE-LABlab(82.23, -25.11, 67.60)
CIE-LCHlch(82.23, 72.12, 110.38°)
OKLaboklab(83.82% -0.0753 0.151)
OKLCHoklch(83.82% 0.169 116.5)
XYZxyz(48.0499, 60.7306, 14.3441)
Luminance0.6073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D742 #5542D7
analogous
#D7A042 #C4D742 #79D742
triadic
#C4D742 #42C4D7 #D742C4
tetradic
#C4D742 #42D7A0 #5542D7 #D74279
square
#C4D742 #42D7A0 #5542D7 #D74279
split-complementary
#C4D742 #4279D7 #A042D7
monochromatic
#76831C #A3B526 #C4D742 #D4E275 #E4ECA7

Accessibility & contrast

On white

1.60
#C4D742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#C4D742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D742
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D742#FFFFFF#000000##000000
##C4D7421.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC29
Deuteranopia (green-blind)
#E4CE4E
Tritanopia (blue-blind)
#D0CBBA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c4d742;
/* rgb */ color: rgb(196, 215, 66);
/* oklch */ color: oklch(83.8% 0.169 116.5);
Tailwind
colors: {
  custom: {
    50: '#d9e37f',
    500: '#c4d742',
    950: '#000000',
  },
}
SCSS
$custom: #c4d742;
$custom-light: #d9e37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d742",
  "rgb": {
    "r": 196,
    "g": 215,
    "b": 66
  },
  "hsl": {
    "h": 67.651,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83823,
    "c": 0.16874,
    "h": 116.5
  },
  "luminance": 0.6073
}

Semantic roles & 50–950 ramp

primary
#C4D742
secondary
#3F348A
accent
#40E855
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C4D742

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

Preview Lab → · Contrast checker → · Palette generator →

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