#D7E04A#D7E04A

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

Color values

HEX#D7E04A
RGBrgb(215, 224, 74)
HSLhsl(64, 71%, 58%)
HSVhsv(64, 67%, 88%)
CMYKcmyk(4%, 0%, 67%, 12.2%)
CIE-LABlab(86.13, -21.27, 69.02)
CIE-LCHlch(86.13, 72.22, 107.13°)
OKLaboklab(87.31% -0.0648 0.1548)
OKLCHoklch(87.31% 0.168 112.7)
XYZxyz(55.9176, 68.2540, 16.7060)
Luminance0.6825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E04A #534AE0
analogous
#E09E4A #D7E04A #8CE04A
triadic
#D7E04A #4AD7E0 #E04AD7
tetradic
#D7E04A #4AE09E #534AE0 #E04A8C
square
#D7E04A #4AE09E #534AE0 #E04A8C
split-complementary
#D7E04A #4A8CE0 #9E4AE0
monochromatic
#8E961A #C0CA23 #D7E04A #E3E97E #EEF2B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7E04A#FFFFFF#000000##000000
##D7E04A1.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)
#F0D633
Deuteranopia (green-blind)
#F1D955
Tritanopia (blue-blind)
#E5D3C2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d7e04a;
/* rgb */ color: rgb(215, 224, 74);
/* oklch */ color: oklch(87.3% 0.168 112.7);
Tailwind
colors: {
  custom: {
    50: '#e7e985',
    500: '#d7e04a',
    950: '#000000',
  },
}
SCSS
$custom: #d7e04a;
$custom-light: #e7e985;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e04a",
  "rgb": {
    "r": 215,
    "g": 224,
    "b": 74
  },
  "hsl": {
    "h": 63.6,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.87314,
    "c": 0.16781,
    "h": 112.7
  },
  "luminance": 0.68253
}

Semantic roles & 50–950 ramp

primary
#D7E04A
secondary
#3A349A
accent
#3AEE45
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7E04A

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

Preview Lab → · Contrast checker → · Palette generator →

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