#D7E848#D7E848

#D7E848 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.0% C 0.178 H 115.4°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#D7E848
RGBrgb(215, 232, 72)
HSLhsl(66, 78%, 60%)
HSVhsv(66, 69%, 91%)
CMYKcmyk(7.3%, 0%, 69%, 9%)
CIE-LABlab(88.27, -25.22, 71.89)
CIE-LCHlch(88.27, 76.19, 109.33°)
OKLaboklab(89.02% -0.0761 0.1605)
OKLCHoklch(89.02% 0.178 115.4)
XYZxyz(58.0521, 72.6291, 17.0903)
Luminance0.7263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E848 #5948E8
analogous
#E8A948 #D7E848 #87E848
triadic
#D7E848 #48D7E8 #E848D7
tetradic
#D7E848 #48E8A9 #5948E8 #E84887
square
#D7E848 #48E8A9 #5948E8 #E84887
split-complementary
#D7E848 #4887E8 #A948E8
monochromatic
#92A114 #C4D81B #D7E848 #E3EF7E #EFF6B5

Accessibility & contrast

On white

1.35
#D7E848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#D7E848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E848
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E848#FFFFFF#000000##000000
##D7E8481.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DC2D
Deuteranopia (green-blind)
#F7DF54
Tritanopia (blue-blind)
#E4DBC8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d7e848;
/* rgb */ color: rgb(215, 232, 72);
/* oklch */ color: oklch(89.0% 0.178 115.4);
Tailwind
colors: {
  custom: {
    50: '#e7ef84',
    500: '#d7e848',
    950: '#000000',
  },
}
SCSS
$custom: #d7e848;
$custom-light: #e7ef84;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e848",
  "rgb": {
    "r": 215,
    "g": 232,
    "b": 72
  },
  "hsl": {
    "h": 66.375,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.89023,
    "c": 0.1776,
    "h": 115.4
  },
  "luminance": 0.72628
}

Semantic roles & 50–950 ramp

primary
#D7E848
secondary
#3D30A4
accent
#34F448
background
#FFFFFC
surface
#FEFEF3
border
#D6D6CD
text
#16160C
muted
#85857F

Preview Lab

Preview with #D7E848

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

Preview Lab → · Contrast checker → · Palette generator →

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