#D7E955#D7E955

#D7E955 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.3% C 0.170 H 115.8°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#D7E955
RGBrgb(215, 233, 85)
HSLhsl(67, 77%, 62%)
HSVhsv(67, 64%, 91%)
CMYKcmyk(7.7%, 0%, 63.5%, 8.6%)
CIE-LABlab(88.63, -24.94, 67.36)
CIE-LCHlch(88.63, 71.82, 110.32°)
OKLaboklab(89.34% -0.0741 0.1529)
OKLCHoklch(89.34% 0.17 115.8)
XYZxyz(58.8043, 73.3816, 19.6589)
Luminance0.7338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E955 #6755E9
analogous
#E9B155 #D7E955 #8DE955
triadic
#D7E955 #55D7E9 #E955D7
tetradic
#D7E955 #55E9B1 #6755E9 #E9558D
square
#D7E955 #55E9B1 #6755E9 #E9558D
split-complementary
#D7E955 #558DE9 #B155E9
monochromatic
#9BAD16 #CAE21F #D7E955 #E4F08B #F1F7C1

Accessibility & contrast

On white

1.34
#D7E955 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.68
#D7E955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E955
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E955#FFFFFF#000000##000000
##D7E9551.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE42
Deuteranopia (green-blind)
#F7E05F
Tritanopia (blue-blind)
#E4DCCB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d7e955;
/* rgb */ color: rgb(215, 233, 85);
/* oklch */ color: oklch(89.3% 0.170 115.8);
Tailwind
colors: {
  custom: {
    50: '#e6ef8c',
    500: '#d7e955',
    950: '#000000',
  },
}
SCSS
$custom: #d7e955;
$custom-light: #e6ef8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e955",
  "rgb": {
    "r": 215,
    "g": 233,
    "b": 85
  },
  "hsl": {
    "h": 67.297,
    "s": 77.083,
    "l": 62.353
  },
  "oklch": {
    "l": 0.89339,
    "c": 0.16988,
    "h": 115.8
  },
  "luminance": 0.73381
}

Semantic roles & 50–950 ramp

primary
#D7E955
secondary
#4334AE
accent
#0CD925
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D7E955

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

Preview Lab → · Contrast checker → · Palette generator →

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