#D7E248#D7E248

#D7E248 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 87.7% C 0.171 H 113.4°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#D7E248
RGBrgb(215, 226, 72)
HSLhsl(64, 73%, 58%)
HSVhsv(64, 68%, 89%)
CMYKcmyk(4.9%, 0%, 68.1%, 11.4%)
CIE-LABlab(86.66, -22.34, 70.29)
CIE-LCHlch(86.66, 73.75, 107.64°)
OKLaboklab(87.73% -0.068 0.1571)
OKLCHoklch(87.73% 0.171 113.4)
XYZxyz(56.3920, 69.3088, 16.5369)
Luminance0.6931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E248 #5348E2
analogous
#E2A048 #D7E248 #8AE248
triadic
#D7E248 #48D7E2 #E248D7
tetradic
#D7E248 #48E2A0 #5348E2 #E2488A
square
#D7E248 #48E2A0 #5348E2 #E2488A
split-complementary
#D7E248 #488AE2 #A048E2
monochromatic
#8E9818 #C0CC20 #D7E248 #E3EA7D #EEF3B2

Accessibility & contrast

On white

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

On black

14.86
#D7E248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E248
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E248#FFFFFF#000000##000000
##D7E2481.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D72F
Deuteranopia (green-blind)
#F2DB53
Tritanopia (blue-blind)
#E5D5C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d7e248;
/* rgb */ color: rgb(215, 226, 72);
/* oklch */ color: oklch(87.7% 0.171 113.4);
Tailwind
colors: {
  custom: {
    50: '#e7ea84',
    500: '#d7e248',
    950: '#000000',
  },
}
SCSS
$custom: #d7e248;
$custom-light: #e7ea84;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e248",
  "rgb": {
    "r": 215,
    "g": 226,
    "b": 72
  },
  "hsl": {
    "h": 64.286,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.87729,
    "c": 0.17122,
    "h": 113.4
  },
  "luminance": 0.69308
}

Semantic roles & 50–950 ramp

primary
#D7E248
secondary
#3A339C
accent
#38EF46
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D7E248

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

Preview Lab → · Contrast checker → · Palette generator →

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