#E4D07F#E4D07F

#E4D07F is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.7% C 0.104 H 95.9°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#E4D07F
RGBrgb(228, 208, 127)
HSLhsl(48, 65%, 70%)
HSVhsv(48, 44%, 89%)
CMYKcmyk(0%, 8.8%, 44.3%, 10.6%)
CIE-LABlab(83.52, -3.92, 42.62)
CIE-LCHlch(83.52, 42.80, 95.25°)
OKLaboklab(85.66% -0.0107 0.1032)
OKLCHoklch(85.66% 0.104 95.9)
XYZxyz(58.3831, 63.1401, 29.1865)
Luminance0.6314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D07F #7F93E4
analogous
#E49E7F #E4D07F #C5E47F
triadic
#E4D07F #7FE4D0 #D07FE4
tetradic
#E4D07F #7FE49E #7F93E4 #E47FC5
square
#E4D07F #7FE49E #7F93E4 #E47FC5
split-complementary
#E4D07F #7FC5E4 #9E7FE4
monochromatic
#C0A229 #D9BD4C #E4D07F #EFE3B2 #F9F5E4

Accessibility & contrast

On white

1.54
#E4D07F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#E4D07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D07F
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D07F#FFFFFF#000000##000000
##E4D07F1.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC79
Deuteranopia (green-blind)
#E4D382
Tritanopia (blue-blind)
#F2C5BC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e4d07f;
/* rgb */ color: rgb(228, 208, 127);
/* oklch */ color: oklch(85.7% 0.104 95.9);
Tailwind
colors: {
  custom: {
    50: '#eedea5',
    500: '#e4d07f',
    950: '#000000',
  },
}
SCSS
$custom: #e4d07f;
$custom-light: #eedea5;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d07f",
  "rgb": {
    "r": 228,
    "g": 208,
    "b": 127
  },
  "hsl": {
    "h": 48.119,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.85658,
    "c": 0.10375,
    "h": 95.9
  },
  "luminance": 0.63138
}

Semantic roles & 50–950 ramp

primary
#E4D07F
secondary
#4B62BC
accent
#3CCD19
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E4D07F

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

Preview Lab → · Contrast checker → · Palette generator →

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