#E4D862#E4D862

#E4D862 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.9% C 0.139 H 103.5°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#E4D862
RGBrgb(228, 216, 98)
HSLhsl(54, 71%, 64%)
HSVhsv(54, 57%, 89%)
CMYKcmyk(0%, 5.3%, 57%, 10.6%)
CIE-LABlab(85.25, -10.47, 58.48)
CIE-LCHlch(85.25, 59.40, 100.15°)
OKLaboklab(86.92% -0.0325 0.1354)
OKLCHoklch(86.92% 0.139 103.5)
XYZxyz(58.7574, 66.4896, 21.2916)
Luminance0.6649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D862 #626EE4
analogous
#E49762 #E4D862 #AFE462
triadic
#E4D862 #62E4D8 #D862E4
tetradic
#E4D862 #62E497 #626EE4 #E462AF
square
#E4D862 #62E497 #626EE4 #E462AF
split-complementary
#E4D862 #62AFE4 #9762E4
monochromatic
#AEA01E #DBCB2E #E4D862 #EDE596 #F6F2CA

Accessibility & contrast

On white

1.47
#E4D862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#E4D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D862
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D862#FFFFFF#000000##000000
##E4D8621.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D156
Deuteranopia (green-blind)
#EDD868
Tritanopia (blue-blind)
#F3CBBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e4d862;
/* rgb */ color: rgb(228, 216, 98);
/* oklch */ color: oklch(86.9% 0.139 103.5);
Tailwind
colors: {
  custom: {
    50: '#efe392',
    500: '#e4d862',
    950: '#000000',
  },
}
SCSS
$custom: #e4d862;
$custom-light: #efe392;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d862",
  "rgb": {
    "r": 228,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 54.462,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.8692,
    "c": 0.13929,
    "h": 103.5
  },
  "luminance": 0.66488
}

Semantic roles & 50–950 ramp

primary
#E4D862
secondary
#3B46AF
accent
#25D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D862

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

Preview Lab → · Contrast checker → · Palette generator →

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