#E4D07C#E4D07C

#E4D07C is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.6% C 0.107 H 96.3°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#E4D07C
RGBrgb(228, 208, 124)
HSLhsl(48, 66%, 69%)
HSVhsv(48, 46%, 89%)
CMYKcmyk(0%, 8.8%, 45.6%, 10.6%)
CIE-LABlab(83.48, -4.21, 44.07)
CIE-LCHlch(83.48, 44.27, 95.46°)
OKLaboklab(85.61% -0.0118 0.1063)
OKLCHoklch(85.61% 0.107 96.3)
XYZxyz(58.1905, 63.0631, 28.1721)
Luminance0.6306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D07C #7C90E4
analogous
#E49C7C #E4D07C #C4E47C
triadic
#E4D07C #7CE4D0 #D07CE4
tetradic
#E4D07C #7CE49C #7C90E4 #E47CC4
square
#E4D07C #7CE49C #7C90E4 #E47CC4
split-complementary
#E4D07C #7CC4E4 #9C7CE4
monochromatic
#BEA127 #DABE49 #E4D07C #EEE2AF #F9F4E1

Accessibility & contrast

On white

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

On black

13.61
#E4D07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D07C
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D07C#FFFFFF#000000##000000
##E4D07C1.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4d07c;
/* rgb */ color: rgb(228, 208, 124);
/* oklch */ color: oklch(85.6% 0.107 96.3);
Tailwind
colors: {
  custom: {
    50: '#eedea3',
    500: '#e4d07c',
    950: '#000000',
  },
}
SCSS
$custom: #e4d07c;
$custom-light: #eedea3;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d07c",
  "rgb": {
    "r": 228,
    "g": 208,
    "b": 124
  },
  "hsl": {
    "h": 48.462,
    "s": 65.823,
    "l": 69.02
  },
  "oklch": {
    "l": 0.85613,
    "c": 0.10692,
    "h": 96.3
  },
  "luminance": 0.63061
}

Semantic roles & 50–950 ramp

primary
#E4D07C
secondary
#495FBC
accent
#3BCE18
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E4D07C

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

Preview Lab → · Contrast checker → · Palette generator →

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