#D7E058#D7E058

#D7E058 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.4% C 0.158 H 112.8°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#D7E058
RGBrgb(215, 224, 88)
HSLhsl(64, 69%, 61%)
HSVhsv(64, 61%, 88%)
CMYKcmyk(4%, 0%, 60.7%, 12.2%)
CIE-LABlab(86.24, -20.41, 63.59)
CIE-LCHlch(86.24, 66.79, 107.80°)
OKLaboklab(87.43% -0.0611 0.1453)
OKLCHoklch(87.43% 0.158 112.8)
XYZxyz(56.4429, 68.4641, 19.4722)
Luminance0.6846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E058 #6158E0
analogous
#E0A558 #D7E058 #93E058
triadic
#D7E058 #58D7E0 #E058D7
tetradic
#D7E058 #58E0A5 #6158E0 #E05893
square
#D7E058 #58E0A5 #6158E0 #E05893
split-complementary
#D7E058 #5893E0 #A558E0
monochromatic
#97A01E #C8D427 #D7E058 #E3EA8C #F0F3BF

Accessibility & contrast

On white

1.43
#D7E058 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#D7E058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E058
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E058#FFFFFF#000000##000000
##D7E0581.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D648
Deuteranopia (green-blind)
#F0D961
Tritanopia (blue-blind)
#E4D4C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d7e058;
/* rgb */ color: rgb(215, 224, 88);
/* oklch */ color: oklch(87.4% 0.158 112.8);
Tailwind
colors: {
  custom: {
    50: '#e6e98d',
    500: '#d7e058',
    950: '#000000',
  },
}
SCSS
$custom: #d7e058;
$custom-light: #e6e98d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e058",
  "rgb": {
    "r": 215,
    "g": 224,
    "b": 88
  },
  "hsl": {
    "h": 63.971,
    "s": 68.687,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87432,
    "c": 0.15765,
    "h": 112.8
  },
  "luminance": 0.68463
}

Semantic roles & 50–950 ramp

primary
#D7E058
secondary
#4039A3
accent
#15D121
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160D
muted
#85847F

Preview Lab

Preview with #D7E058

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

Preview Lab → · Contrast checker → · Palette generator →

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