#D9E340#D9E340

#D9E340 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.0% C 0.177 H 113.0°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#D9E340
RGBrgb(217, 227, 64)
HSLhsl(64, 74%, 57%)
HSVhsv(64, 72%, 89%)
CMYKcmyk(4.4%, 0%, 71.8%, 11%)
CIE-LABlab(87.03, -22.41, 73.50)
CIE-LCHlch(87.03, 76.84, 106.95°)
OKLaboklab(88.05% -0.069 0.1625)
OKLCHoklch(88.05% 0.177 113)
XYZxyz(57.0115, 70.0613, 15.3694)
Luminance0.7006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E340 #4A40E3
analogous
#E39C40 #D9E340 #88E340
triadic
#D9E340 #40D9E3 #E340D9
tetradic
#D9E340 #40E39C #4A40E3 #E34088
square
#D9E340 #40E39C #4A40E3 #E34088
split-complementary
#D9E340 #4088E3 #9C40E3
monochromatic
#8B9316 #BEC81D #D9E340 #E4EB75 #EEF3AB

Accessibility & contrast

On white

1.40
#D9E340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.01
#D9E340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E340
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E340#FFFFFF#000000##000000
##D9E3401.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D820
Deuteranopia (green-blind)
#F4DC4D
Tritanopia (blue-blind)
#E8D5C4
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d9e340;
/* rgb */ color: rgb(217, 227, 64);
/* oklch */ color: oklch(88.0% 0.177 113.0);
Tailwind
colors: {
  custom: {
    50: '#e9eb80',
    500: '#d9e340',
    950: '#000000',
  },
}
SCSS
$custom: #d9e340;
$custom-light: #e9eb80;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e340",
  "rgb": {
    "r": 217,
    "g": 227,
    "b": 64
  },
  "hsl": {
    "h": 63.681,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.88048,
    "c": 0.17657,
    "h": 113
  },
  "luminance": 0.7006
}

Semantic roles & 50–950 ramp

primary
#D9E340
secondary
#363097
accent
#37F142
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #D9E340

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

Preview Lab → · Contrast checker → · Palette generator →

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