#D7E54F#D7E54F

#D7E54F is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 88.4% C 0.170 H 114.5°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#D7E54F
RGBrgb(215, 229, 79)
HSLhsl(66, 74%, 60%)
HSVhsv(66, 66%, 90%)
CMYKcmyk(6.1%, 0%, 65.5%, 10.2%)
CIE-LABlab(87.51, -23.39, 68.53)
CIE-LCHlch(87.51, 72.41, 108.85°)
OKLaboklab(88.43% -0.0703 0.1545)
OKLCHoklch(88.43% 0.17 114.5)
XYZxyz(57.4564, 71.0512, 18.0831)
Luminance0.7105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E54F #5D4FE5
analogous
#E5A84F #D7E54F #8CE54F
triadic
#D7E54F #4FD7E5 #E54FD7
tetradic
#D7E54F #4FE5A8 #5D4FE5 #E54F8C
square
#D7E54F #4FE5A8 #5D4FE5 #E54F8C
split-complementary
#D7E54F #4F8CE5 #A84FE5
monochromatic
#95A218 #C6D720 #D7E54F #E3ED84 #EFF5BA

Accessibility & contrast

On white

1.38
#D7E54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.21
#D7E54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E54F
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E54F#FFFFFF#000000##000000
##D7E54F1.001.3815.2115.21
#FFFFFF1.381.0021.0021.00
#00000015.2121.001.001.00
##00000015.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7e54f;
/* rgb */ color: rgb(215, 229, 79);
/* oklch */ color: oklch(88.4% 0.170 114.5);
Tailwind
colors: {
  custom: {
    50: '#e7ed88',
    500: '#d7e54f',
    950: '#000000',
  },
}
SCSS
$custom: #d7e54f;
$custom-light: #e7ed88;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e54f",
  "rgb": {
    "r": 215,
    "g": 229,
    "b": 79
  },
  "hsl": {
    "h": 65.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.88428,
    "c": 0.16975,
    "h": 114.5
  },
  "luminance": 0.7105
}

Semantic roles & 50–950 ramp

primary
#D7E54F
secondary
#3E34A4
accent
#0FD622
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7E54F

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

Preview Lab → · Contrast checker → · Palette generator →

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