#D5E262#D5E262

#D5E262 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 87.8% C 0.152 H 114.4°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#D5E262
RGBrgb(213, 226, 98)
HSLhsl(66, 69%, 64%)
HSVhsv(66, 57%, 89%)
CMYKcmyk(5.8%, 0%, 56.6%, 11.4%)
CIE-LABlab(86.71, -21.47, 59.81)
CIE-LCHlch(86.71, 63.54, 109.75°)
OKLaboklab(87.8% -0.0629 0.1386)
OKLCHoklch(87.8% 0.152 114.4)
XYZxyz(56.8427, 69.4216, 21.9582)
Luminance0.6942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E262 #6F62E2
analogous
#E2AF62 #D5E262 #95E262
triadic
#D5E262 #62D5E2 #E262D5
tetradic
#D5E262 #62E2AF #6F62E2 #E26295
square
#D5E262 #62E2AF #6F62E2 #E26295
split-complementary
#D5E262 #6295E2 #AF62E2
monochromatic
#9CAA1F #C7D82E #D5E262 #E3EC96 #F1F5C9

Accessibility & contrast

On white

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

On black

14.88
#D5E262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E262
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E262#FFFFFF#000000##000000
##D5E2621.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D854
Deuteranopia (green-blind)
#F0DA6A
Tritanopia (blue-blind)
#E1D6C6
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d5e262;
/* rgb */ color: rgb(213, 226, 98);
/* oklch */ color: oklch(87.8% 0.152 114.4);
Tailwind
colors: {
  custom: {
    50: '#e4eb93',
    500: '#d5e262',
    950: '#000000',
  },
}
SCSS
$custom: #d5e262;
$custom-light: #e4eb93;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e262",
  "rgb": {
    "r": 213,
    "g": 226,
    "b": 98
  },
  "hsl": {
    "h": 66.094,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.87803,
    "c": 0.15218,
    "h": 114.4
  },
  "luminance": 0.69421
}

Semantic roles & 50–950 ramp

primary
#D5E262
secondary
#483CAC
accent
#15D128
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D5E262

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

Preview Lab → · Contrast checker → · Palette generator →

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