#D7E45F#D7E45F

#D7E45F is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.4% C 0.156 H 114.3°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#D7E45F
RGBrgb(215, 228, 95)
HSLhsl(66, 71%, 63%)
HSVhsv(66, 58%, 89%)
CMYKcmyk(5.7%, 0%, 58.3%, 10.6%)
CIE-LABlab(87.37, -21.86, 61.87)
CIE-LCHlch(87.37, 65.62, 109.46°)
OKLaboklab(88.36% -0.0644 0.1426)
OKLCHoklch(88.36% 0.156 114.3)
XYZxyz(57.8346, 70.7611, 21.4358)
Luminance0.7076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E45F #6C5FE4
analogous
#E4AF5F #D7E45F #94E45F
triadic
#D7E45F #5FD7E4 #E45FD7
tetradic
#D7E45F #5FE4AF #6C5FE4 #E45F94
square
#D7E45F #5FE4AF #6C5FE4 #E45F94
split-complementary
#D7E45F #5F94E4 #AF5FE4
monochromatic
#9EAC1D #CADB2B #D7E45F #E4ED93 #F1F6C8

Accessibility & contrast

On white

1.39
#D7E45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.15
#D7E45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E45F
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E45F#FFFFFF#000000##000000
##D7E45F1.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA50
Deuteranopia (green-blind)
#F2DC67
Tritanopia (blue-blind)
#E4D8C8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d7e45f;
/* rgb */ color: rgb(215, 228, 95);
/* oklch */ color: oklch(88.4% 0.156 114.3);
Tailwind
colors: {
  custom: {
    50: '#e6ec91',
    500: '#d7e45f',
    950: '#000000',
  },
}
SCSS
$custom: #d7e45f;
$custom-light: #e6ec91;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e45f",
  "rgb": {
    "r": 215,
    "g": 228,
    "b": 95
  },
  "hsl": {
    "h": 65.865,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.88356,
    "c": 0.15647,
    "h": 114.3
  },
  "luminance": 0.7076
}

Semantic roles & 50–950 ramp

primary
#D7E45F
secondary
#453AAD
accent
#12D325
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D7E45F

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

Preview Lab → · Contrast checker → · Palette generator →

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