#D5E254#D5E254

#D5E254 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 87.7% C 0.163 H 114.2°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#D5E254
RGBrgb(213, 226, 84)
HSLhsl(65, 71%, 61%)
HSVhsv(65, 63%, 89%)
CMYKcmyk(5.8%, 0%, 62.8%, 11.4%)
CIE-LABlab(86.59, -22.45, 65.56)
CIE-LCHlch(86.59, 69.30, 108.90°)
OKLaboklab(87.67% -0.0671 0.149)
OKLCHoklch(87.67% 0.163 114.2)
XYZxyz(56.2385, 69.1799, 18.7763)
Luminance0.6918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E254 #6154E2
analogous
#E2A854 #D5E254 #8EE254
triadic
#D5E254 #54D5E2 #E254D5
tetradic
#D5E254 #54E2A8 #6154E2 #E2548E
square
#D5E254 #54E2A8 #6154E2 #E2548E
split-complementary
#D5E254 #548EE2 #A854E2
monochromatic
#94A01B #C5D524 #D5E254 #E2EB88 #EFF4BD

Accessibility & contrast

On white

1.42
#D5E254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#D5E254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E254
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E254#FFFFFF#000000##000000
##D5E2541.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D742
Deuteranopia (green-blind)
#F1DA5D
Tritanopia (blue-blind)
#E2D5C5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d5e254;
/* rgb */ color: rgb(213, 226, 84);
/* oklch */ color: oklch(87.7% 0.163 114.2);
Tailwind
colors: {
  custom: {
    50: '#e5eb8a',
    500: '#d5e254',
    950: '#000000',
  },
}
SCSS
$custom: #d5e254;
$custom-light: #e5eb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e254",
  "rgb": {
    "r": 213,
    "g": 226,
    "b": 84
  },
  "hsl": {
    "h": 65.493,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87669,
    "c": 0.16341,
    "h": 114.2
  },
  "luminance": 0.69179
}

Semantic roles & 50–950 ramp

primary
#D5E254
secondary
#4137A3
accent
#12D324
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D5E254

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

Preview Lab → · Contrast checker → · Palette generator →

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