#D7E255#D7E255

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

Color values

HEX#D7E255
RGBrgb(215, 226, 85)
HSLhsl(65, 71%, 61%)
HSVhsv(65, 62%, 89%)
CMYKcmyk(4.9%, 0%, 62.4%, 11.4%)
CIE-LABlab(86.75, -21.58, 65.37)
CIE-LCHlch(86.75, 68.84, 108.27°)
OKLaboklab(87.83% -0.0646 0.1487)
OKLCHoklch(87.83% 0.162 113.5)
XYZxyz(56.8618, 69.4968, 19.0114)
Luminance0.6950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E255 #6055E2
analogous
#E2A655 #D7E255 #90E255
triadic
#D7E255 #55D7E2 #E255D7
tetradic
#D7E255 #55E2A6 #6055E2 #E25590
square
#D7E255 #55E2A6 #6055E2 #E25590
split-complementary
#D7E255 #5590E2 #A655E2
monochromatic
#97A11B #C8D524 #D7E255 #E3EB89 #F0F4BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7E255#FFFFFF#000000##000000
##D7E2551.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)
#F2D843
Deuteranopia (green-blind)
#F1DB5E
Tritanopia (blue-blind)
#E4D5C5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d7e255;
/* rgb */ color: rgb(215, 226, 85);
/* oklch */ color: oklch(87.8% 0.162 113.5);
Tailwind
colors: {
  custom: {
    50: '#e6eb8b',
    500: '#d7e255',
    950: '#000000',
  },
}
SCSS
$custom: #d7e255;
$custom-light: #e6eb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e255",
  "rgb": {
    "r": 215,
    "g": 226,
    "b": 85
  },
  "hsl": {
    "h": 64.681,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87833,
    "c": 0.16214,
    "h": 113.5
  },
  "luminance": 0.69496
}

Semantic roles & 50–950 ramp

primary
#D7E255
secondary
#4037A4
accent
#13D322
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7E255

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

Preview Lab → · Contrast checker → · Palette generator →

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