#D4E07B#D4E07B

#D4E07B is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.6% C 0.126 H 114.6°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#D4E07B
RGBrgb(212, 224, 123)
HSLhsl(67, 62%, 68%)
HSVhsv(67, 45%, 88%)
CMYKcmyk(5.4%, 0%, 45.1%, 12.2%)
CIE-LABlab(86.37, -18.68, 47.86)
CIE-LCHlch(86.37, 51.38, 111.32°)
OKLaboklab(87.6% -0.0526 0.1148)
OKLCHoklch(87.6% 0.126 114.6)
XYZxyz(57.3829, 68.7392, 28.9801)
Luminance0.6874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E07B #877BE0
analogous
#E0B97B #D4E07B #A1E07B
triadic
#D4E07B #7BD4E0 #E07BD4
tetradic
#D4E07B #7BE0B9 #877BE0 #E07BA1
square
#D4E07B #7BE0B9 #877BE0 #E07BA1
split-complementary
#D4E07B #7BA1E0 #B97BE0
monochromatic
#A5B62B #C4D449 #D4E07B #E4ECAD #F4F7DE

Accessibility & contrast

On white

1.42
#D4E07B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.75
#D4E07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E07B
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E07B#FFFFFF#000000##000000
##D4E07B1.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD773
Deuteranopia (green-blind)
#ECD980
Tritanopia (blue-blind)
#DED6C8
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d4e07b;
/* rgb */ color: rgb(212, 224, 123);
/* oklch */ color: oklch(87.6% 0.126 114.6);
Tailwind
colors: {
  custom: {
    50: '#e3e9a3',
    500: '#d4e07b',
    950: '#000000',
  },
}
SCSS
$custom: #d4e07b;
$custom-light: #e3e9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e07b",
  "rgb": {
    "r": 212,
    "g": 224,
    "b": 123
  },
  "hsl": {
    "h": 67.129,
    "s": 61.963,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87602,
    "c": 0.1263,
    "h": 114.6
  },
  "luminance": 0.68738
}

Semantic roles & 50–950 ramp

primary
#D4E07B
secondary
#5548B7
accent
#1CCA30
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#16160F
muted
#848480

Preview Lab

Preview with #D4E07B

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

Preview Lab → · Contrast checker → · Palette generator →

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