#D7E142#D7E142

#D7E142 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.5% C 0.174 H 113.1°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#D7E142
RGBrgb(215, 225, 66)
HSLhsl(64, 73%, 57%)
HSVhsv(64, 71%, 88%)
CMYKcmyk(4.4%, 0%, 70.7%, 11.8%)
CIE-LABlab(86.35, -22.17, 72.12)
CIE-LCHlch(86.35, 75.45, 107.09°)
OKLaboklab(87.47% -0.0681 0.16)
OKLCHoklch(87.47% 0.174 113.1)
XYZxyz(55.9346, 68.6921, 15.4656)
Luminance0.6869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E142 #4C42E1
analogous
#E19C42 #D7E142 #87E142
triadic
#D7E142 #42D7E1 #E142D7
tetradic
#D7E142 #42E19C #4C42E1 #E14287
square
#D7E142 #42E19C #4C42E1 #E14287
split-complementary
#D7E142 #4287E1 #9C42E1
monochromatic
#8A9217 #BCC61F #D7E142 #E2E977 #EDF2AC

Accessibility & contrast

On white

1.42
#D7E142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#D7E142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E142
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E142#FFFFFF#000000##000000
##D7E1421.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D625
Deuteranopia (green-blind)
#F2DA4E
Tritanopia (blue-blind)
#E5D4C2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d7e142;
/* rgb */ color: rgb(215, 225, 66);
/* oklch */ color: oklch(87.5% 0.174 113.1);
Tailwind
colors: {
  custom: {
    50: '#e7ea81',
    500: '#d7e142',
    950: '#000000',
  },
}
SCSS
$custom: #d7e142;
$custom-light: #e7ea81;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e142",
  "rgb": {
    "r": 215,
    "g": 225,
    "b": 66
  },
  "hsl": {
    "h": 63.774,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.87473,
    "c": 0.17388,
    "h": 113.1
  },
  "luminance": 0.68691
}

Semantic roles & 50–950 ramp

primary
#D7E142
secondary
#373196
accent
#38EF44
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D7E142

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

Preview Lab → · Contrast checker → · Palette generator →

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