#D4E742#D4E742

#D4E742 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 88.5% C 0.181 H 116.0°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#D4E742
RGBrgb(212, 231, 66)
HSLhsl(67, 77%, 58%)
HSVhsv(67, 71%, 91%)
CMYKcmyk(8.2%, 0%, 71.4%, 9.4%)
CIE-LABlab(87.75, -26.25, 73.39)
CIE-LCHlch(87.75, 77.95, 109.68°)
OKLaboklab(88.54% -0.0793 0.1628)
OKLCHoklch(88.54% 0.181 116)
XYZxyz(56.7121, 71.5431, 15.9748)
Luminance0.7154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E742 #5542E7
analogous
#E7A742 #D4E742 #81E742
triadic
#D4E742 #42D4E7 #E742D4
tetradic
#D4E742 #42E7A7 #5542E7 #E74281
square
#D4E742 #42E7A7 #5542E7 #E74281
split-complementary
#D4E742 #4281E7 #A742E7
monochromatic
#8B9B14 #BCD11B #D4E742 #E0EE78 #EDF5AF

Accessibility & contrast

On white

1.37
#D4E742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#D4E742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E742
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E742#FFFFFF#000000##000000
##D4E7421.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DB22
Deuteranopia (green-blind)
#F5DD50
Tritanopia (blue-blind)
#E1DAC7
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d4e742;
/* rgb */ color: rgb(212, 231, 66);
/* oklch */ color: oklch(88.5% 0.181 116.0);
Tailwind
colors: {
  custom: {
    50: '#e5ee81',
    500: '#d4e742',
    950: '#000000',
  },
}
SCSS
$custom: #d4e742;
$custom-light: #e5ee81;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e742",
  "rgb": {
    "r": 212,
    "g": 231,
    "b": 66
  },
  "hsl": {
    "h": 66.909,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.88538,
    "c": 0.18106,
    "h": 116
  },
  "luminance": 0.71542
}

Semantic roles & 50–950 ramp

primary
#D4E742
secondary
#3C2F9E
accent
#34F44A
background
#FFFFFB
surface
#FEFEF2
border
#D6D6CC
text
#16160B
muted
#85857E

Preview Lab

Preview with #D4E742

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

Preview Lab → · Contrast checker → · Palette generator →

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