#D7E04B#D7E04B

#D7E04B is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.3% C 0.167 H 112.7°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#D7E04B
RGBrgb(215, 224, 75)
HSLhsl(64, 71%, 59%)
HSVhsv(64, 67%, 88%)
CMYKcmyk(4%, 0%, 66.5%, 12.2%)
CIE-LABlab(86.14, -21.21, 68.65)
CIE-LCHlch(86.14, 71.86, 107.17°)
OKLaboklab(87.32% -0.0646 0.1542)
OKLCHoklch(87.32% 0.167 112.7)
XYZxyz(55.9516, 68.2676, 16.8848)
Luminance0.6827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E04B #544BE0
analogous
#E09E4B #D7E04B #8CE04B
triadic
#D7E04B #4BD7E0 #E04BD7
tetradic
#D7E04B #4BE09E #544BE0 #E04B8C
square
#D7E04B #4BE09E #544BE0 #E04B8C
split-complementary
#D7E04B #4B8CE0 #9E4BE0
monochromatic
#8F971A #C1CB23 #D7E04B #E3E97F #EEF2B3

Accessibility & contrast

On white

1.43
#D7E04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#D7E04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E04B
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E04B#FFFFFF#000000##000000
##D7E04B1.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D635
Deuteranopia (green-blind)
#F0D956
Tritanopia (blue-blind)
#E5D3C2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d7e04b;
/* rgb */ color: rgb(215, 224, 75);
/* oklch */ color: oklch(87.3% 0.167 112.7);
Tailwind
colors: {
  custom: {
    50: '#e7e985',
    500: '#d7e04b',
    950: '#000000',
  },
}
SCSS
$custom: #d7e04b;
$custom-light: #e7e985;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e04b",
  "rgb": {
    "r": 215,
    "g": 224,
    "b": 75
  },
  "hsl": {
    "h": 63.624,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.87322,
    "c": 0.16714,
    "h": 112.7
  },
  "luminance": 0.68266
}

Semantic roles & 50–950 ramp

primary
#D7E04B
secondary
#3B349B
accent
#3AED45
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7E04B

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

Preview Lab → · Contrast checker → · Palette generator →

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