#D7E154#D7E154

#D7E154 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.6% C 0.162 H 113.1°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#D7E154
RGBrgb(215, 225, 84)
HSLhsl(64, 70%, 61%)
HSVhsv(64, 63%, 88%)
CMYKcmyk(4.4%, 0%, 62.7%, 11.8%)
CIE-LABlab(86.47, -21.16, 65.48)
CIE-LCHlch(86.47, 68.82, 107.91°)
OKLaboklab(87.61% -0.0636 0.1488)
OKLCHoklch(87.61% 0.162 113.1)
XYZxyz(56.5513, 68.9387, 18.7133)
Luminance0.6894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E154 #5E54E1
analogous
#E1A454 #D7E154 #91E154
triadic
#D7E154 #54D7E1 #E154D7
tetradic
#D7E154 #54E1A4 #5E54E1 #E15491
square
#D7E154 #54E1A4 #5E54E1 #E15491
split-complementary
#D7E154 #5491E1 #A454E1
monochromatic
#959F1C #C6D325 #D7E154 #E3EA88 #EFF3BC

Accessibility & contrast

On white

1.42
#D7E154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.79
#D7E154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E154
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E154#FFFFFF#000000##000000
##D7E1541.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D742
Deuteranopia (green-blind)
#F1DA5D
Tritanopia (blue-blind)
#E4D4C4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d7e154;
/* rgb */ color: rgb(215, 225, 84);
/* oklch */ color: oklch(87.6% 0.162 113.1);
Tailwind
colors: {
  custom: {
    50: '#e6ea8a',
    500: '#d7e154',
    950: '#000000',
  },
}
SCSS
$custom: #d7e154;
$custom-light: #e6ea8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e154",
  "rgb": {
    "r": 215,
    "g": 225,
    "b": 84
  },
  "hsl": {
    "h": 64.255,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8761,
    "c": 0.1618,
    "h": 113.1
  },
  "luminance": 0.68938
}

Semantic roles & 50–950 ramp

primary
#D7E154
secondary
#3F37A2
accent
#13D221
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7E154

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

Preview Lab → · Contrast checker → · Palette generator →

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