#D7E151#D7E151

#D7E151 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.6% C 0.164 H 113.1°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#D7E151
RGBrgb(215, 225, 81)
HSLhsl(64, 71%, 60%)
HSVhsv(64, 64%, 88%)
CMYKcmyk(4.4%, 0%, 64%, 11.8%)
CIE-LABlab(86.45, -21.35, 66.66)
CIE-LCHlch(86.45, 69.99, 107.76°)
OKLaboklab(87.59% -0.0644 0.1508)
OKLCHoklch(87.59% 0.164 113.1)
XYZxyz(56.4363, 68.8927, 18.1076)
Luminance0.6889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E151 #5B51E1
analogous
#E1A351 #D7E151 #8FE151
triadic
#D7E151 #51D7E1 #E151D7
tetradic
#D7E151 #51E1A3 #5B51E1 #E1518F
square
#D7E151 #51E1A3 #5B51E1 #E1518F
split-complementary
#D7E151 #518FE1 #A351E1
monochromatic
#949D1B #C5D124 #D7E151 #E3EA85 #EFF3B9

Accessibility & contrast

On white

1.42
#D7E151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.78
#D7E151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E151
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E151#FFFFFF#000000##000000
##D7E1511.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73E
Deuteranopia (green-blind)
#F1DA5B
Tritanopia (blue-blind)
#E5D4C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d7e151;
/* rgb */ color: rgb(215, 225, 81);
/* oklch */ color: oklch(87.6% 0.164 113.1);
Tailwind
colors: {
  custom: {
    50: '#e6ea89',
    500: '#d7e151',
    950: '#000000',
  },
}
SCSS
$custom: #d7e151;
$custom-light: #e6ea89;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e151",
  "rgb": {
    "r": 215,
    "g": 225,
    "b": 81
  },
  "hsl": {
    "h": 64.167,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.87585,
    "c": 0.164,
    "h": 113.1
  },
  "luminance": 0.68892
}

Semantic roles & 50–950 ramp

primary
#D7E151
secondary
#3E36A0
accent
#3AED47
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7E151

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

Preview Lab → · Contrast checker → · Palette generator →

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