#D5E256#D5E256

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

Color values

HEX#D5E256
RGBrgb(213, 226, 86)
HSLhsl(66, 71%, 61%)
HSVhsv(66, 62%, 89%)
CMYKcmyk(5.8%, 0%, 61.9%, 11.4%)
CIE-LABlab(86.61, -22.32, 64.77)
CIE-LCHlch(86.61, 68.51, 109.02°)
OKLaboklab(87.69% -0.0665 0.1476)
OKLCHoklch(87.69% 0.162 114.3)
XYZxyz(56.3180, 69.2117, 19.1947)
Luminance0.6921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E256 #6356E2
analogous
#E2A956 #D5E256 #8FE256
triadic
#D5E256 #56D5E2 #E256D5
tetradic
#D5E256 #56E2A9 #6356E2 #E2568F
square
#D5E256 #56E2A9 #6356E2 #E2568F
split-complementary
#D5E256 #568FE2 #A956E2
monochromatic
#95A21C #C6D625 #D5E256 #E2EB8A #EFF4BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5E256#FFFFFF#000000##000000
##D5E2561.001.4114.8414.84
#FFFFFF1.411.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D845
Deuteranopia (green-blind)
#F1DA5F
Tritanopia (blue-blind)
#E2D6C5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d5e256;
/* rgb */ color: rgb(213, 226, 86);
/* oklch */ color: oklch(87.7% 0.162 114.3);
Tailwind
colors: {
  custom: {
    50: '#e5eb8c',
    500: '#d5e256',
    950: '#000000',
  },
}
SCSS
$custom: #d5e256;
$custom-light: #e5eb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e256",
  "rgb": {
    "r": 213,
    "g": 226,
    "b": 86
  },
  "hsl": {
    "h": 65.571,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87686,
    "c": 0.1619,
    "h": 114.3
  },
  "luminance": 0.69211
}

Semantic roles & 50–950 ramp

primary
#D5E256
secondary
#4238A5
accent
#13D325
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D5E256

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

Preview Lab → · Contrast checker → · Palette generator →

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