#D7E45B#D7E45B

#D7E45B is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.3% C 0.160 H 114.3°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#D7E45B
RGBrgb(215, 228, 91)
HSLhsl(66, 72%, 63%)
HSVhsv(66, 60%, 89%)
CMYKcmyk(5.7%, 0%, 60.1%, 10.6%)
CIE-LABlab(87.33, -22.14, 63.53)
CIE-LCHlch(87.33, 67.28, 109.22°)
OKLaboklab(88.32% -0.0656 0.1456)
OKLCHoklch(88.32% 0.16 114.3)
XYZxyz(57.6574, 70.6902, 20.5027)
Luminance0.7069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E45B #685BE4
analogous
#E4AC5B #D7E45B #93E45B
triadic
#D7E45B #5BD7E4 #E45BD7
tetradic
#D7E45B #5BE4AC #685BE4 #E45B93
square
#D7E45B #5BE4AC #685BE4 #E45B93
split-complementary
#D7E45B #5B93E4 #AC5BE4
monochromatic
#9BA91C #CADB26 #D7E45B #E4ED90 #F1F5C4

Accessibility & contrast

On white

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

On black

15.14
#D7E45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E45B
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E45B#FFFFFF#000000##000000
##D7E45B1.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA4B
Deuteranopia (green-blind)
#F3DC64
Tritanopia (blue-blind)
#E4D8C7
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d7e45b;
/* rgb */ color: rgb(215, 228, 91);
/* oklch */ color: oklch(88.3% 0.160 114.3);
Tailwind
colors: {
  custom: {
    50: '#e6ec8f',
    500: '#d7e45b',
    950: '#000000',
  },
}
SCSS
$custom: #d7e45b;
$custom-light: #e6ec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e45b",
  "rgb": {
    "r": 215,
    "g": 228,
    "b": 91
  },
  "hsl": {
    "h": 65.693,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.88317,
    "c": 0.15971,
    "h": 114.3
  },
  "luminance": 0.70689
}

Semantic roles & 50–950 ramp

primary
#D7E45B
secondary
#4339AB
accent
#12D424
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160D
muted
#85847F

Preview Lab

Preview with #D7E45B

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

Preview Lab → · Contrast checker → · Palette generator →

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