#D8F058#D8F058

#D8F058 is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.0% C 0.175 H 117.7°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#D8F058
RGBrgb(216, 240, 88)
HSLhsl(69, 84%, 64%)
HSVhsv(69, 63%, 94%)
CMYKcmyk(10%, 0%, 63.3%, 5.9%)
CIE-LABlab(90.61, -27.66, 68.28)
CIE-LCHlch(90.61, 73.67, 112.05°)
OKLaboklab(90.95% -0.0814 0.1552)
OKLCHoklch(90.95% 0.175 117.7)
XYZxyz(61.2416, 77.6243, 20.9874)
Luminance0.7762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F058 #7058F0
analogous
#F0BC58 #D8F058 #8CF058
triadic
#D8F058 #58D8F0 #F058D8
tetradic
#D8F058 #58F0BC #7058F0 #F0588C
square
#D8F058 #58F0BC #7058F0 #F0588C
split-complementary
#D8F058 #588CF0 #BC58F0
monochromatic
#A2BD11 #CBEB20 #D8F058 #E5F590 #F2FAC8

Accessibility & contrast

On white

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

On black

16.52
#D8F058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F058
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F058#FFFFFF#000000##000000
##D8F0581.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE444
Deuteranopia (green-blind)
#FDE563
Tritanopia (blue-blind)
#E4E3D1
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d8f058;
/* rgb */ color: rgb(216, 240, 88);
/* oklch */ color: oklch(91.0% 0.175 117.7);
Tailwind
colors: {
  custom: {
    50: '#e7f48e',
    500: '#d8f058',
    950: '#000000',
  },
}
SCSS
$custom: #d8f058;
$custom-light: #e7f48e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f058",
  "rgb": {
    "r": 216,
    "g": 240,
    "b": 88
  },
  "hsl": {
    "h": 69.474,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.90952,
    "c": 0.17528,
    "h": 117.7
  },
  "luminance": 0.77624
}

Semantic roles & 50–950 ramp

primary
#D8F058
secondary
#4731BB
accent
#06E028
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8F058

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

Preview Lab → · Contrast checker → · Palette generator →

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