#E4E45B#E4E45B

#E4E45B is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.3% C 0.157 H 109.2°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#E4E45B
RGBrgb(228, 228, 91)
HSLhsl(60, 72%, 63%)
HSVhsv(60, 60%, 89%)
CMYKcmyk(0%, 0%, 60.1%, 10.6%)
CIE-LABlab(88.32, -16.90, 64.89)
CIE-LCHlch(88.32, 67.05, 104.60°)
OKLaboklab(89.35% -0.0516 0.1482)
OKLCHoklch(89.35% 0.157 109.2)
XYZxyz(61.6285, 72.7378, 20.6889)
Luminance0.7274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E45B #5B5BE4
analogous
#E49F5B #E4E45B #9FE45B
triadic
#E4E45B #5BE4E4 #E45BE4
tetradic
#E4E45B #5BE49F #5B5BE4 #E45B9F
square
#E4E45B #5BE49F #5B5BE4 #E45B9F
split-complementary
#E4E45B #5B9FE4 #9F5BE4
monochromatic
#A9A91C #DBDB26 #E4E45B #EDED90 #F5F5C4

Accessibility & contrast

On white

1.35
#E4E45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#E4E45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E45B
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E45B#FFFFFF#000000##000000
##E4E45B1.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB4B
Deuteranopia (green-blind)
#F7E063
Tritanopia (blue-blind)
#F3D7C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e4e45b;
/* rgb */ color: rgb(228, 228, 91);
/* oklch */ color: oklch(89.3% 0.157 109.2);
Tailwind
colors: {
  custom: {
    50: '#efec8f',
    500: '#e4e45b',
    950: '#000000',
  },
}
SCSS
$custom: #e4e45b;
$custom-light: #efec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e45b",
  "rgb": {
    "r": 228,
    "g": 228,
    "b": 91
  },
  "hsl": {
    "h": 60,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8935,
    "c": 0.15692,
    "h": 109.2
  },
  "luminance": 0.72736
}

Semantic roles & 50–950 ramp

primary
#E4E45B
secondary
#3939AB
accent
#12D412
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E4E45B

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

Preview Lab → · Contrast checker → · Palette generator →

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