#D1EB4A#D1EB4A

#D1EB4A is a very light, vivid yellow. Relative luminance 0.735; OKLCH L 89.2% C 0.182 H 118.2°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#D1EB4A
RGBrgb(209, 235, 74)
HSLhsl(70, 80%, 61%)
HSVhsv(70, 69%, 92%)
CMYKcmyk(11.1%, 0%, 68.5%, 7.8%)
CIE-LABlab(88.67, -28.93, 71.43)
CIE-LCHlch(88.67, 77.07, 112.05°)
OKLaboklab(89.24% -0.0858 0.16)
OKLCHoklch(89.24% 0.182 118.2)
XYZxyz(57.2400, 73.4669, 17.6423)
Luminance0.7347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1EB4A #644AEB
analogous
#EBB44A #D1EB4A #81EB4A
triadic
#D1EB4A #4AD1EB #EB4AD1
tetradic
#D1EB4A #4AEBB4 #644AEB #EB4A81
square
#D1EB4A #4AEBB4 #644AEB #EB4A81
split-complementary
#D1EB4A #4A81EB #B44AEB
monochromatic
#90A813 #BFDF19 #D1EB4A #DFF181 #EDF7B8

Accessibility & contrast

On white

1.34
#D1EB4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.69
#D1EB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1EB4A
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1EB4A#FFFFFF#000000##000000
##D1EB4A1.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADE30
Deuteranopia (green-blind)
#F7DF57
Tritanopia (blue-blind)
#DDDECB
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d1eb4a;
/* rgb */ color: rgb(209, 235, 74);
/* oklch */ color: oklch(89.2% 0.182 118.2);
Tailwind
colors: {
  custom: {
    50: '#e3f186',
    500: '#d1eb4a',
    950: '#000000',
  },
}
SCSS
$custom: #d1eb4a;
$custom-light: #e3f186;
$custom-dark: #000000;
JSON
{
  "hex": "#d1eb4a",
  "rgb": {
    "r": 209,
    "g": 235,
    "b": 74
  },
  "hsl": {
    "h": 69.689,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.89241,
    "c": 0.18157,
    "h": 118.2
  },
  "luminance": 0.73466
}

Semantic roles & 50–950 ramp

primary
#D1EB4A
secondary
#4330A9
accent
#09DC2B
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D1EB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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