#E4E18A#E4E18A

#E4E18A is a very light, moderate yellow. Relative luminance 0.722; OKLCH L 89.3% C 0.109 H 106.7°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#E4E18A
RGBrgb(228, 225, 138)
HSLhsl(58, 63%, 72%)
HSVhsv(58, 39%, 89%)
CMYKcmyk(0%, 1.3%, 39.5%, 10.6%)
CIE-LABlab(88.06, -11.39, 42.89)
CIE-LCHlch(88.06, 44.38, 104.88°)
OKLaboklab(89.31% -0.0313 0.1044)
OKLCHoklch(89.31% 0.109 106.7)
XYZxyz(63.5086, 72.1808, 34.6266)
Luminance0.7218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E18A #8A8DE4
analogous
#E4B48A #E4E18A #BAE48A
triadic
#E4E18A #8AE4E1 #E18AE4
tetradic
#E4E18A #8AE4B4 #8A8DE4 #E48ABA
square
#E4E18A #8AE4B4 #8A8DE4 #E48ABA
split-complementary
#E4E18A #8ABAE4 #B48AE4
monochromatic
#C6C12E #D9D458 #E4E18A #EFEEBC #F9F9E6

Accessibility & contrast

On white

1.36
#E4E18A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.44
#E4E18A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E18A
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E18A#FFFFFF#000000##000000
##E4E18A1.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDB83
Deuteranopia (green-blind)
#F0DF8E
Tritanopia (blue-blind)
#F0D7CC
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e4e18a;
/* rgb */ color: rgb(228, 225, 138);
/* oklch */ color: oklch(89.3% 0.109 106.7);
Tailwind
colors: {
  custom: {
    50: '#eeeaad',
    500: '#e4e18a',
    950: '#000000',
  },
}
SCSS
$custom: #e4e18a;
$custom-light: #eeeaad;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e18a",
  "rgb": {
    "r": 228,
    "g": 225,
    "b": 138
  },
  "hsl": {
    "h": 58,
    "s": 62.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89305,
    "c": 0.109,
    "h": 106.7
  },
  "luminance": 0.72179
}

Semantic roles & 50–950 ramp

primary
#E4E18A
secondary
#5659BD
accent
#21CA1B
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E4E18A

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

Preview Lab → · Contrast checker → · Palette generator →

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