#D7E256#D7E256

#D7E256 is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 87.8% C 0.161 H 113.5°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#D7E256
RGBrgb(215, 226, 86)
HSLhsl(65, 71%, 61%)
HSVhsv(65, 62%, 89%)
CMYKcmyk(4.9%, 0%, 61.9%, 11.4%)
CIE-LABlab(86.76, -21.52, 64.97)
CIE-LCHlch(86.76, 68.44, 108.32°)
OKLaboklab(87.84% -0.0644 0.148)
OKLCHoklch(87.84% 0.161 113.5)
XYZxyz(56.9018, 69.5128, 19.2221)
Luminance0.6951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E256 #6156E2
analogous
#E2A756 #D7E256 #91E256
triadic
#D7E256 #56D7E2 #E256D7
tetradic
#D7E256 #56E2A7 #6156E2 #E25691
square
#D7E256 #56E2A7 #6156E2 #E25691
split-complementary
#D7E256 #5691E2 #A756E2
monochromatic
#97A21C #C8D625 #D7E256 #E3EB8A #F0F4BE

Accessibility & contrast

On white

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

On black

14.90
#D7E256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E256
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E256#FFFFFF#000000##000000
##D7E2561.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D845
Deuteranopia (green-blind)
#F1DB5F
Tritanopia (blue-blind)
#E4D5C5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d7e256;
/* rgb */ color: rgb(215, 226, 86);
/* oklch */ color: oklch(87.8% 0.161 113.5);
Tailwind
colors: {
  custom: {
    50: '#e6eb8c',
    500: '#d7e256',
    950: '#000000',
  },
}
SCSS
$custom: #d7e256;
$custom-light: #e6eb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e256",
  "rgb": {
    "r": 215,
    "g": 226,
    "b": 86
  },
  "hsl": {
    "h": 64.714,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87842,
    "c": 0.16138,
    "h": 113.5
  },
  "luminance": 0.69512
}

Semantic roles & 50–950 ramp

primary
#D7E256
secondary
#4038A5
accent
#13D322
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7E256

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

Preview Lab → · Contrast checker → · Palette generator →

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