#D7F054#D7F054

#D7F054 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 90.8% C 0.178 H 117.9°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#D7F054
RGBrgb(215, 240, 84)
HSLhsl(70, 84%, 64%)
HSVhsv(70, 65%, 94%)
CMYKcmyk(10.4%, 0%, 65%, 5.9%)
CIE-LABlab(90.51, -28.31, 69.71)
CIE-LCHlch(90.51, 75.24, 112.10°)
OKLaboklab(90.85% -0.0835 0.1577)
OKLCHoklch(90.85% 0.178 117.9)
XYZxyz(60.7858, 77.4079, 20.1248)
Luminance0.7741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F054 #6D54F0
analogous
#F0BB54 #D7F054 #89F054
triadic
#D7F054 #54D7F0 #F054D7
tetradic
#D7F054 #54F0BB #6D54F0 #F05489
square
#D7F054 #54F0BB #6D54F0 #F05489
split-complementary
#D7F054 #5489F0 #BB54F0
monochromatic
#9EB910 #CAEB1C #D7F054 #E4F58C #F1FAC5

Accessibility & contrast

On white

1.27
#D7F054 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#D7F054 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F054
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F054#FFFFFF#000000##000000
##D7F0541.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE33E
Deuteranopia (green-blind)
#FDE55F
Tritanopia (blue-blind)
#E3E3D0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d7f054;
/* rgb */ color: rgb(215, 240, 84);
/* oklch */ color: oklch(90.8% 0.178 117.9);
Tailwind
colors: {
  custom: {
    50: '#e7f48c',
    500: '#d7f054',
    950: '#000000',
  },
}
SCSS
$custom: #d7f054;
$custom-light: #e7f48c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f054",
  "rgb": {
    "r": 215,
    "g": 240,
    "b": 84
  },
  "hsl": {
    "h": 69.615,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.90846,
    "c": 0.17847,
    "h": 117.9
  },
  "luminance": 0.77407
}

Semantic roles & 50–950 ramp

primary
#D7F054
secondary
#4630B8
accent
#05E028
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D7F054

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

Preview Lab → · Contrast checker → · Palette generator →

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