#E4D85B#E4D85B

#E4D85B is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.8% C 0.145 H 103.8°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#E4D85B
RGBrgb(228, 216, 91)
HSLhsl(55, 72%, 63%)
HSVhsv(55, 60%, 89%)
CMYKcmyk(0%, 5.3%, 60.1%, 10.6%)
CIE-LABlab(85.18, -10.96, 61.47)
CIE-LCHlch(85.18, 62.44, 100.10°)
OKLaboklab(86.85% -0.0347 0.141)
OKLCHoklch(86.85% 0.145 103.8)
XYZxyz(58.4412, 66.3632, 19.6265)
Luminance0.6636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D85B #5B67E4
analogous
#E4945B #E4D85B #ABE45B
triadic
#E4D85B #5BE4D8 #D85BE4
tetradic
#E4D85B #5BE494 #5B67E4 #E45BAB
square
#E4D85B #5BE494 #5B67E4 #E45BAB
split-complementary
#E4D85B #5BABE4 #945BE4
monochromatic
#A99C1C #DBCC26 #E4D85B #EDE490 #F5F1C4

Accessibility & contrast

On white

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

On black

14.27
#E4D85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D85B
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D85B#FFFFFF#000000##000000
##E4D85B1.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD14D
Deuteranopia (green-blind)
#EED862
Tritanopia (blue-blind)
#F4CABD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e4d85b;
/* rgb */ color: rgb(228, 216, 91);
/* oklch */ color: oklch(86.8% 0.145 103.8);
Tailwind
colors: {
  custom: {
    50: '#efe38e',
    500: '#e4d85b',
    950: '#000000',
  },
}
SCSS
$custom: #e4d85b;
$custom-light: #efe38e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d85b",
  "rgb": {
    "r": 228,
    "g": 216,
    "b": 91
  },
  "hsl": {
    "h": 54.745,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.86848,
    "c": 0.14516,
    "h": 103.8
  },
  "luminance": 0.66361
}

Semantic roles & 50–950 ramp

primary
#E4D85B
secondary
#3943AB
accent
#23D412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D85B

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

Preview Lab → · Contrast checker → · Palette generator →

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