#E4D970#E4D970

#E4D970 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.3% C 0.127 H 103.3°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#E4D970
RGBrgb(228, 217, 112)
HSLhsl(54, 68%, 67%)
HSVhsv(54, 51%, 89%)
CMYKcmyk(0%, 4.8%, 50.9%, 10.6%)
CIE-LABlab(85.65, -9.87, 52.52)
CIE-LCHlch(85.65, 53.44, 100.64°)
OKLaboklab(87.29% -0.0293 0.124)
OKLCHoklch(87.29% 0.127 103.3)
XYZxyz(59.7341, 67.2915, 25.1681)
Luminance0.6729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D970 #707BE4
analogous
#E49F70 #E4D970 #B5E470
triadic
#E4D970 #70E4D9 #D970E4
tetradic
#E4D970 #70E49F #707BE4 #E470B5
square
#E4D970 #70E49F #707BE4 #E470B5
split-complementary
#E4D970 #70B5E4 #9F70E4
monochromatic
#B7A923 #DACB3D #E4D970 #EEE7A3 #F7F4D7

Accessibility & contrast

On white

1.45
#E4D970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#E4D970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D970
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D970#FFFFFF#000000##000000
##E4D9701.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D366
Deuteranopia (green-blind)
#EDD975
Tritanopia (blue-blind)
#F2CDC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e4d970;
/* rgb */ color: rgb(228, 217, 112);
/* oklch */ color: oklch(87.3% 0.127 103.3);
Tailwind
colors: {
  custom: {
    50: '#efe49b',
    500: '#e4d970',
    950: '#000000',
  },
}
SCSS
$custom: #e4d970;
$custom-light: #efe49b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d970",
  "rgb": {
    "r": 228,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 54.31,
    "s": 68.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87289,
    "c": 0.12744,
    "h": 103.3
  },
  "luminance": 0.6729
}

Semantic roles & 50–950 ramp

primary
#E4D970
secondary
#414CB7
accent
#27D015
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4D970

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

Preview Lab → · Contrast checker → · Palette generator →

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