#D4E74D#D4E74D

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

Color values

HEX#D4E74D
RGBrgb(212, 231, 77)
HSLhsl(67, 76%, 60%)
HSVhsv(67, 67%, 91%)
CMYKcmyk(8.2%, 0%, 66.7%, 9.4%)
CIE-LABlab(87.82, -25.67, 69.53)
CIE-LCHlch(87.82, 74.12, 110.26°)
OKLaboklab(88.62% -0.0767 0.1564)
OKLCHoklch(88.62% 0.174 116.1)
XYZxyz(57.0682, 71.6855, 17.8501)
Luminance0.7168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E74D #604DE7
analogous
#E7AD4D #D4E74D #87E74D
triadic
#D4E74D #4DD4E7 #E74DD4
tetradic
#D4E74D #4DE7AD #604DE7 #E74D87
square
#D4E74D #4DE7AD #604DE7 #E74D87
split-complementary
#D4E74D #4D87E7 #AD4DE7
monochromatic
#92A416 #C2D91D #D4E74D #E1EE83 #EEF6B9

Accessibility & contrast

On white

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

On black

15.34
#D4E74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E74D
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E74D#FFFFFF#000000##000000
##D4E74D1.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4e74d;
/* rgb */ color: rgb(212, 231, 77);
/* oklch */ color: oklch(88.6% 0.174 116.1);
Tailwind
colors: {
  custom: {
    50: '#e5ee87',
    500: '#d4e74d',
    950: '#000000',
  },
}
SCSS
$custom: #d4e74d;
$custom-light: #e5ee87;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e74d",
  "rgb": {
    "r": 212,
    "g": 231,
    "b": 77
  },
  "hsl": {
    "h": 67.403,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.88616,
    "c": 0.17417,
    "h": 116.1
  },
  "luminance": 0.71685
}

Semantic roles & 50–950 ramp

primary
#D4E74D
secondary
#4132A6
accent
#0DD826
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D4E74D

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

Preview Lab → · Contrast checker → · Palette generator →

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