#D4EB5F#D4EB5F

#D4EB5F is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 89.6% C 0.165 H 117.7°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#D4EB5F
RGBrgb(212, 235, 95)
HSLhsl(70, 78%, 65%)
HSVhsv(70, 60%, 92%)
CMYKcmyk(9.8%, 0%, 59.6%, 7.8%)
CIE-LABlab(89.04, -26.40, 63.65)
CIE-LCHlch(89.04, 68.91, 112.53°)
OKLaboklab(89.64% -0.077 0.1464)
OKLCHoklch(89.64% 0.165 117.7)
XYZxyz(58.9263, 74.2405, 22.0498)
Luminance0.7424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4EB5F #765FEB
analogous
#EBBC5F #D4EB5F #8EEB5F
triadic
#D4EB5F #5FD4EB #EB5FD4
tetradic
#D4EB5F #5FEBBC #765FEB #EB5F8E
square
#D4EB5F #5FEBBC #765FEB #EB5F8E
split-complementary
#D4EB5F #5F8EEB #BC5FEB
monochromatic
#9EB917 #C5E429 #D4EB5F #E3F295 #F1F9CC

Accessibility & contrast

On white

1.33
#D4EB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.85
#D4EB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4EB5F
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4EB5F#FFFFFF#000000##000000
##D4EB5F1.001.3315.8515.85
#FFFFFF1.331.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4F
Deuteranopia (green-blind)
#F7E068
Tritanopia (blue-blind)
#E0DFCD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d4eb5f;
/* rgb */ color: rgb(212, 235, 95);
/* oklch */ color: oklch(89.6% 0.165 117.7);
Tailwind
colors: {
  custom: {
    50: '#e4f192',
    500: '#d4eb5f',
    950: '#000000',
  },
}
SCSS
$custom: #d4eb5f;
$custom-light: #e4f192;
$custom-dark: #000000;
JSON
{
  "hex": "#d4eb5f",
  "rgb": {
    "r": 212,
    "g": 235,
    "b": 95
  },
  "hsl": {
    "h": 69.857,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89638,
    "c": 0.16542,
    "h": 117.7
  },
  "luminance": 0.7424
}

Semantic roles & 50–950 ramp

primary
#D4EB5F
secondary
#4C36B8
accent
#0BDA2D
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D4EB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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