#D0E240#D0E240

#D0E240 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.1% C 0.178 H 115.8°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#D0E240
RGBrgb(208, 226, 64)
HSLhsl(67, 74%, 57%)
HSVhsv(67, 72%, 89%)
CMYKcmyk(8%, 0%, 71.7%, 11.4%)
CIE-LABlab(86.09, -25.59, 72.37)
CIE-LCHlch(86.09, 76.76, 109.48°)
OKLaboklab(87.13% -0.0774 0.1604)
OKLCHoklch(87.13% 0.178 115.8)
XYZxyz(54.1356, 68.1736, 15.1565)
Luminance0.6817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0E240 #5240E2
analogous
#E2A340 #D0E240 #7FE240
triadic
#D0E240 #40D0E2 #E240D0
tetradic
#D0E240 #40E2A3 #5240E2 #E2407F
square
#D0E240 #40E2A3 #5240E2 #E2407F
split-complementary
#D0E240 #407FE2 #A340E2
monochromatic
#849216 #B4C71E #D0E240 #DDEA75 #EAF2AA

Accessibility & contrast

On white

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

On black

14.63
#D0E240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0E240
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0E240#FFFFFF#000000##000000
##D0E2401.001.4314.6314.63
#FFFFFF1.431.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D621
Deuteranopia (green-blind)
#F0D94D
Tritanopia (blue-blind)
#DDD5C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d0e240;
/* rgb */ color: rgb(208, 226, 64);
/* oklch */ color: oklch(87.1% 0.178 115.8);
Tailwind
colors: {
  custom: {
    50: '#e2eb80',
    500: '#d0e240',
    950: '#000000',
  },
}
SCSS
$custom: #d0e240;
$custom-light: #e2eb80;
$custom-dark: #000000;
JSON
{
  "hex": "#d0e240",
  "rgb": {
    "r": 208,
    "g": 226,
    "b": 64
  },
  "hsl": {
    "h": 66.667,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.87134,
    "c": 0.17812,
    "h": 115.8
  },
  "luminance": 0.68173
}

Semantic roles & 50–950 ramp

primary
#D0E240
secondary
#3B3096
accent
#38F04C
background
#FEFEFB
surface
#FDFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D0E240

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

Preview Lab → · Contrast checker → · Palette generator →

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