#D8F05F#D8F05F

#D8F05F is a very light, vivid yellow. Relative luminance 0.777; OKLCH L 91.0% C 0.170 H 117.9°. Best body text is #000000 at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#D8F05F
RGBrgb(216, 240, 95)
HSLhsl(70, 83%, 66%)
HSVhsv(70, 60%, 94%)
CMYKcmyk(10%, 0%, 60.4%, 5.9%)
CIE-LABlab(90.66, -27.19, 65.51)
CIE-LCHlch(90.66, 70.92, 112.54°)
OKLaboklab(91.02% -0.0794 0.1503)
OKLCHoklch(91.02% 0.17 117.9)
XYZxyz(61.5456, 77.7459, 22.5885)
Luminance0.7774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F05F #775FF0
analogous
#F0BF5F #D8F05F #8FF05F
triadic
#D8F05F #5FD8F0 #F05FD8
tetradic
#D8F05F #5FF0BF #775FF0 #F05F8F
square
#D8F05F #5FF0BF #775FF0 #F05F8F
split-complementary
#D8F05F #5F8FF0 #BF5FF0
monochromatic
#A5C212 #CAEB27 #D8F05F #E6F597 #F3FACF

Accessibility & contrast

On white

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

On black

16.55
#D8F05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F05F
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F05F#FFFFFF#000000##000000
##D8F05F1.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE44E
Deuteranopia (green-blind)
#FCE569
Tritanopia (blue-blind)
#E4E4D1
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d8f05f;
/* rgb */ color: rgb(216, 240, 95);
/* oklch */ color: oklch(91.0% 0.170 117.9);
Tailwind
colors: {
  custom: {
    50: '#e7f492',
    500: '#d8f05f',
    950: '#000000',
  },
}
SCSS
$custom: #d8f05f;
$custom-light: #e7f492;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f05f",
  "rgb": {
    "r": 216,
    "g": 240,
    "b": 95
  },
  "hsl": {
    "h": 69.931,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.91015,
    "c": 0.16998,
    "h": 117.9
  },
  "luminance": 0.77745
}

Semantic roles & 50–950 ramp

primary
#D8F05F
secondary
#4A33C0
accent
#06DF2A
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8F05F

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

Preview Lab → · Contrast checker → · Palette generator →

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