#E4E18B#E4E18B

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

Color values

HEX#E4E18B
RGBrgb(228, 225, 139)
HSLhsl(58, 62%, 72%)
HSVhsv(58, 39%, 89%)
CMYKcmyk(0%, 1.3%, 39%, 10.6%)
CIE-LABlab(88.07, -11.29, 42.41)
CIE-LCHlch(88.07, 43.89, 104.90°)
OKLaboklab(89.32% -0.0309 0.1034)
OKLCHoklch(89.32% 0.108 106.7)
XYZxyz(63.5813, 72.2099, 35.0097)
Luminance0.7221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E18B #8B8EE4
analogous
#E4B58B #E4E18B #BAE48B
triadic
#E4E18B #8BE4E1 #E18BE4
tetradic
#E4E18B #8BE4B5 #8B8EE4 #E48BBA
square
#E4E18B #8BE4B5 #8B8EE4 #E48BBA
split-complementary
#E4E18B #8BBAE4 #B58BE4
monochromatic
#C6C12E #D8D459 #E4E18B #F0EEBD #F9F9E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4E18B#FFFFFF#000000##000000
##E4E18B1.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)
#EEDB84
Deuteranopia (green-blind)
#F0DF8F
Tritanopia (blue-blind)
#F0D7CC
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e4e18b;
/* rgb */ color: rgb(228, 225, 139);
/* oklch */ color: oklch(89.3% 0.108 106.7);
Tailwind
colors: {
  custom: {
    50: '#eeeaae',
    500: '#e4e18b',
    950: '#000000',
  },
}
SCSS
$custom: #e4e18b;
$custom-light: #eeeaae;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e18b",
  "rgb": {
    "r": 228,
    "g": 225,
    "b": 139
  },
  "hsl": {
    "h": 57.978,
    "s": 62.238,
    "l": 71.961
  },
  "oklch": {
    "l": 0.8932,
    "c": 0.1079,
    "h": 106.7
  },
  "luminance": 0.72208
}

Semantic roles & 50–950 ramp

primary
#E4E18B
secondary
#565ABD
accent
#21CA1C
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E4E18B

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

Preview Lab → · Contrast checker → · Palette generator →

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