#D5E340#D5E340

#D5E340 is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 87.7% C 0.178 H 114.4°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#D5E340
RGBrgb(213, 227, 64)
HSLhsl(65, 74%, 57%)
HSVhsv(65, 72%, 89%)
CMYKcmyk(6.2%, 0%, 71.8%, 11%)
CIE-LABlab(86.73, -24.04, 73.11)
CIE-LCHlch(86.73, 76.96, 108.20°)
OKLaboklab(87.74% -0.0734 0.1618)
OKLCHoklch(87.74% 0.178 114.4)
XYZxyz(55.8367, 69.4555, 15.3144)
Luminance0.6945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E340 #4E40E3
analogous
#E39F40 #D5E340 #84E340
triadic
#D5E340 #40D5E3 #E340D5
tetradic
#D5E340 #40E39F #4E40E3 #E34084
square
#D5E340 #40E39F #4E40E3 #E34084
split-complementary
#D5E340 #4084E3 #9F40E3
monochromatic
#889316 #BAC81D #D5E340 #E1EB75 #ECF3AB

Accessibility & contrast

On white

1.41
#D5E340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.89
#D5E340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E340
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E340#FFFFFF#000000##000000
##D5E3401.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D820
Deuteranopia (green-blind)
#F3DB4D
Tritanopia (blue-blind)
#E3D6C4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d5e340;
/* rgb */ color: rgb(213, 227, 64);
/* oklch */ color: oklch(87.7% 0.178 114.4);
Tailwind
colors: {
  custom: {
    50: '#e6eb80',
    500: '#d5e340',
    950: '#000000',
  },
}
SCSS
$custom: #d5e340;
$custom-light: #e6eb80;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e340",
  "rgb": {
    "r": 213,
    "g": 227,
    "b": 64
  },
  "hsl": {
    "h": 65.153,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.87735,
    "c": 0.17768,
    "h": 114.4
  },
  "luminance": 0.69454
}

Semantic roles & 50–950 ramp

primary
#D5E340
secondary
#393097
accent
#37F147
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D5E340

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

Preview Lab → · Contrast checker → · Palette generator →

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