#D7E742#D7E742

#D7E742 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 88.8% C 0.180 H 115.0°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#D7E742
RGBrgb(215, 231, 66)
HSLhsl(66, 77%, 58%)
HSVhsv(66, 71%, 91%)
CMYKcmyk(6.9%, 0%, 71.4%, 9.4%)
CIE-LABlab(87.97, -25.04, 73.68)
CIE-LCHlch(87.97, 77.82, 108.77°)
OKLaboklab(88.77% -0.0761 0.1633)
OKLCHoklch(88.77% 0.18 115)
XYZxyz(57.5852, 71.9932, 16.0158)
Luminance0.7199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E742 #5242E7
analogous
#E7A442 #D7E742 #84E742
triadic
#D7E742 #42D7E7 #E742D7
tetradic
#D7E742 #42E7A4 #5242E7 #E74284
square
#D7E742 #42E7A4 #5242E7 #E74284
split-complementary
#D7E742 #4284E7 #A442E7
monochromatic
#8E9B14 #C0D11B #D7E742 #E2EE78 #EEF5AF

Accessibility & contrast

On white

1.36
#D7E742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.40
#D7E742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E742
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E742#FFFFFF#000000##000000
##D7E7421.001.3615.4015.40
#FFFFFF1.361.0021.0021.00
#00000015.4021.001.001.00
##00000015.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DB22
Deuteranopia (green-blind)
#F6DE4F
Tritanopia (blue-blind)
#E5DAC7
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d7e742;
/* rgb */ color: rgb(215, 231, 66);
/* oklch */ color: oklch(88.8% 0.180 115.0);
Tailwind
colors: {
  custom: {
    50: '#e7ee81',
    500: '#d7e742',
    950: '#000000',
  },
}
SCSS
$custom: #d7e742;
$custom-light: #e7ee81;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e742",
  "rgb": {
    "r": 215,
    "g": 231,
    "b": 66
  },
  "hsl": {
    "h": 65.818,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.88767,
    "c": 0.18014,
    "h": 115
  },
  "luminance": 0.71992
}

Semantic roles & 50–950 ramp

primary
#D7E742
secondary
#3A2F9E
accent
#34F446
background
#FFFFFB
surface
#FEFEF2
border
#D6D6CC
text
#16160B
muted
#85857E

Preview Lab

Preview with #D7E742

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

Preview Lab → · Contrast checker → · Palette generator →

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