#D7E046#D7E046

#D7E046 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.3% C 0.170 H 112.7°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#D7E046
RGBrgb(215, 224, 70)
HSLhsl(64, 71%, 58%)
HSVhsv(64, 69%, 88%)
CMYKcmyk(4%, 0%, 68.8%, 12.2%)
CIE-LABlab(86.11, -21.48, 70.47)
CIE-LCHlch(86.11, 73.67, 106.95°)
OKLaboklab(87.29% -0.0658 0.1572)
OKLCHoklch(87.29% 0.17 112.7)
XYZxyz(55.7871, 68.2018, 16.0187)
Luminance0.6820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E046 #4F46E0
analogous
#E09C46 #D7E046 #8AE046
triadic
#D7E046 #46D7E0 #E046D7
tetradic
#D7E046 #46E09C #4F46E0 #E0468A
square
#D7E046 #46E09C #4F46E0 #E0468A
split-complementary
#D7E046 #468AE0 #9C46E0
monochromatic
#8C9319 #BEC721 #D7E046 #E2E97A #EEF2AF

Accessibility & contrast

On white

1.43
#D7E046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#D7E046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E046
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E046#FFFFFF#000000##000000
##D7E0461.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D62D
Deuteranopia (green-blind)
#F1D951
Tritanopia (blue-blind)
#E5D3C2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d7e046;
/* rgb */ color: rgb(215, 224, 70);
/* oklch */ color: oklch(87.3% 0.170 112.7);
Tailwind
colors: {
  custom: {
    50: '#e7e983',
    500: '#d7e046',
    950: '#000000',
  },
}
SCSS
$custom: #d7e046;
$custom-light: #e7e983;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e046",
  "rgb": {
    "r": 215,
    "g": 224,
    "b": 70
  },
  "hsl": {
    "h": 63.506,
    "s": 71.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.87285,
    "c": 0.1704,
    "h": 112.7
  },
  "luminance": 0.68201
}

Semantic roles & 50–950 ramp

primary
#D7E046
secondary
#393398
accent
#3AEE44
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D7E046

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

Preview Lab → · Contrast checker → · Palette generator →

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