#D7E54C#D7E54C

#D7E54C is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.4% C 0.172 H 114.4°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#D7E54C
RGBrgb(215, 229, 76)
HSLhsl(65, 75%, 60%)
HSVhsv(65, 67%, 90%)
CMYKcmyk(6.1%, 0%, 66.8%, 10.2%)
CIE-LABlab(87.49, -23.57, 69.65)
CIE-LCHlch(87.49, 73.53, 108.69°)
OKLaboklab(88.41% -0.0711 0.1564)
OKLCHoklch(88.41% 0.172 114.4)
XYZxyz(57.3497, 71.0085, 17.5210)
Luminance0.7101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E54C #5A4CE5
analogous
#E5A64C #D7E54C #8BE54C
triadic
#D7E54C #4CD7E5 #E54CD7
tetradic
#D7E54C #4CE5A6 #5A4CE5 #E54C8B
square
#D7E54C #4CE5A6 #5A4CE5 #E54C8B
split-complementary
#D7E54C #4C8BE5 #A64CE5
monochromatic
#939F17 #C4D51F #D7E54C #E3ED81 #EFF5B7

Accessibility & contrast

On white

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

On black

15.20
#D7E54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E54C
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E54C#FFFFFF#000000##000000
##D7E54C1.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA35
Deuteranopia (green-blind)
#F4DD57
Tritanopia (blue-blind)
#E5D8C6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d7e54c;
/* rgb */ color: rgb(215, 229, 76);
/* oklch */ color: oklch(88.4% 0.172 114.4);
Tailwind
colors: {
  custom: {
    50: '#e7ed86',
    500: '#d7e54c',
    950: '#000000',
  },
}
SCSS
$custom: #d7e54c;
$custom-light: #e7ed86;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e54c",
  "rgb": {
    "r": 215,
    "g": 229,
    "b": 76
  },
  "hsl": {
    "h": 65.49,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.88405,
    "c": 0.17179,
    "h": 114.4
  },
  "luminance": 0.71007
}

Semantic roles & 50–950 ramp

primary
#D7E54C
secondary
#3D33A2
accent
#37F148
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7E54C

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

Preview Lab → · Contrast checker → · Palette generator →

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