#D7E045#D7E045

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

Color values

HEX#D7E045
RGBrgb(215, 224, 69)
HSLhsl(63, 71%, 57%)
HSVhsv(63, 69%, 88%)
CMYKcmyk(4%, 0%, 69.2%, 12.2%)
CIE-LABlab(86.10, -21.53, 70.82)
CIE-LCHlch(86.10, 74.02, 106.91°)
OKLaboklab(87.28% -0.0661 0.1578)
OKLCHoklch(87.28% 0.171 112.7)
XYZxyz(55.7558, 68.1893, 15.8538)
Luminance0.6819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E045 #4E45E0
analogous
#E09C45 #D7E045 #89E045
triadic
#D7E045 #45D7E0 #E045D7
tetradic
#D7E045 #45E09C #4E45E0 #E04589
square
#D7E045 #45E09C #4E45E0 #E04589
split-complementary
#D7E045 #4589E0 #9C45E0
monochromatic
#8B9218 #BDC721 #D7E045 #E2E979 #EEF1AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7E045#FFFFFF#000000##000000
##D7E0451.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)
#F1D62B
Deuteranopia (green-blind)
#F1D951
Tritanopia (blue-blind)
#E5D3C2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d7e045;
/* rgb */ color: rgb(215, 224, 69);
/* oklch */ color: oklch(87.3% 0.171 112.7);
Tailwind
colors: {
  custom: {
    50: '#e7e982',
    500: '#d7e045',
    950: '#000000',
  },
}
SCSS
$custom: #d7e045;
$custom-light: #e7e982;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e045",
  "rgb": {
    "r": 215,
    "g": 224,
    "b": 69
  },
  "hsl": {
    "h": 63.484,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.87278,
    "c": 0.17102,
    "h": 112.7
  },
  "luminance": 0.68188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7E045

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

Preview Lab → · Contrast checker → · Palette generator →

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