#D4E74A#D4E74A

#D4E74A is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 88.6% C 0.176 H 116.1°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#D4E74A
RGBrgb(212, 231, 74)
HSLhsl(67, 77%, 60%)
HSVhsv(67, 68%, 91%)
CMYKcmyk(8.2%, 0%, 68%, 9.4%)
CIE-LABlab(87.80, -25.84, 70.63)
CIE-LCHlch(87.80, 75.20, 110.10°)
OKLaboklab(88.59% -0.0774 0.1582)
OKLCHoklch(88.59% 0.176 116.1)
XYZxyz(56.9647, 71.6441, 17.3051)
Luminance0.7164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E74A #5D4AE7
analogous
#E7AB4A #D4E74A #86E74A
triadic
#D4E74A #4AD4E7 #E74AD4
tetradic
#D4E74A #4AE7AB #5D4AE7 #E74A86
square
#D4E74A #4AE7AB #5D4AE7 #E74A86
split-complementary
#D4E74A #4A86E7 #AB4AE7
monochromatic
#90A115 #C1D71D #D4E74A #E1EE80 #EEF5B6

Accessibility & contrast

On white

1.37
#D4E74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.33
#D4E74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E74A
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E74A#FFFFFF#000000##000000
##D4E74A1.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DB31
Deuteranopia (green-blind)
#F5DD56
Tritanopia (blue-blind)
#E1DAC8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d4e74a;
/* rgb */ color: rgb(212, 231, 74);
/* oklch */ color: oklch(88.6% 0.176 116.1);
Tailwind
colors: {
  custom: {
    50: '#e5ee85',
    500: '#d4e74a',
    950: '#000000',
  },
}
SCSS
$custom: #d4e74a;
$custom-light: #e5ee85;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e74a",
  "rgb": {
    "r": 212,
    "g": 231,
    "b": 74
  },
  "hsl": {
    "h": 67.261,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.88593,
    "c": 0.17615,
    "h": 116.1
  },
  "luminance": 0.71643
}

Semantic roles & 50–950 ramp

primary
#D4E74A
secondary
#3F31A4
accent
#35F34C
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D4E74A

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

Preview Lab → · Contrast checker → · Palette generator →

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