#D4E74F#D4E74F

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

Color values

HEX#D4E74F
RGBrgb(212, 231, 79)
HSLhsl(68, 76%, 61%)
HSVhsv(68, 66%, 91%)
CMYKcmyk(8.2%, 0%, 65.8%, 9.4%)
CIE-LABlab(87.83, -25.56, 68.79)
CIE-LCHlch(87.83, 73.39, 110.38°)
OKLaboklab(88.63% -0.0762 0.1551)
OKLCHoklch(88.63% 0.173 116.2)
XYZxyz(57.1399, 71.7142, 18.2277)
Luminance0.7171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E74F #624FE7
analogous
#E7AE4F #D4E74F #88E74F
triadic
#D4E74F #4FD4E7 #E74FD4
tetradic
#D4E74F #4FE7AE #624FE7 #E74F88
square
#D4E74F #4FE7AE #624FE7 #E74F88
split-complementary
#D4E74F #4F88E7 #AE4FE7
monochromatic
#93A517 #C3DB1E #D4E74F #E1EE85 #EEF6BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4E74F#FFFFFF#000000##000000
##D4E74F1.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)
#F6DB39
Deuteranopia (green-blind)
#F5DD5A
Tritanopia (blue-blind)
#E1DAC8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d4e74f;
/* rgb */ color: rgb(212, 231, 79);
/* oklch */ color: oklch(88.6% 0.173 116.2);
Tailwind
colors: {
  custom: {
    50: '#e4ee88',
    500: '#d4e74f',
    950: '#000000',
  },
}
SCSS
$custom: #d4e74f;
$custom-light: #e4ee88;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e74f",
  "rgb": {
    "r": 212,
    "g": 231,
    "b": 79
  },
  "hsl": {
    "h": 67.5,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.88631,
    "c": 0.17282,
    "h": 116.2
  },
  "luminance": 0.71713
}

Semantic roles & 50–950 ramp

primary
#D4E74F
secondary
#4233A7
accent
#0DD827
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D4E74F

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

Preview Lab → · Contrast checker → · Palette generator →

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