#D7EB72#D7EB72

#D7EB72 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.1% C 0.148 H 117.3°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#D7EB72
RGBrgb(215, 235, 114)
HSLhsl(70, 75%, 68%)
HSVhsv(70, 51%, 92%)
CMYKcmyk(8.5%, 0%, 51.5%, 7.8%)
CIE-LABlab(89.43, -23.69, 55.81)
CIE-LCHlch(89.43, 60.63, 113.00°)
OKLaboklab(90.07% -0.0677 0.1315)
OKLCHoklch(90.07% 0.148 117.3)
XYZxyz(60.7707, 75.0792, 27.2066)
Luminance0.7508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EB72 #8672EB
analogous
#EBC272 #D7EB72 #9AEB72
triadic
#D7EB72 #72D7EB #EB72D7
tetradic
#D7EB72 #72EBC2 #8672EB #EB729A
square
#D7EB72 #72EBC2 #8672EB #EB729A
split-complementary
#D7EB72 #729AEB #C272EB
monochromatic
#AAC61C #C8E33C #D7EB72 #E6F3A8 #F5FADD

Accessibility & contrast

On white

1.31
#D7EB72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.02
#D7EB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7EB72
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7EB72#FFFFFF#000000##000000
##D7EB721.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E067
Deuteranopia (green-blind)
#F7E279
Tritanopia (blue-blind)
#E2E0D0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d7eb72;
/* rgb */ color: rgb(215, 235, 114);
/* oklch */ color: oklch(90.1% 0.148 117.3);
Tailwind
colors: {
  custom: {
    50: '#e5f19e',
    500: '#d7eb72',
    950: '#000000',
  },
}
SCSS
$custom: #d7eb72;
$custom-light: #e5f19e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7eb72",
  "rgb": {
    "r": 215,
    "g": 235,
    "b": 114
  },
  "hsl": {
    "h": 69.917,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90066,
    "c": 0.14796,
    "h": 117.3
  },
  "luminance": 0.75079
}

Semantic roles & 50–950 ramp

primary
#D7EB72
secondary
#543EC3
accent
#0ED72F
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D7EB72

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

Preview Lab → · Contrast checker → · Palette generator →

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