#E4E18C#E4E18C

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

Color values

HEX#E4E18C
RGBrgb(228, 225, 140)
HSLhsl(58, 62%, 72%)
HSVhsv(58, 39%, 89%)
CMYKcmyk(0%, 1.3%, 38.6%, 10.6%)
CIE-LABlab(88.08, -11.18, 41.94)
CIE-LCHlch(88.08, 43.40, 104.93°)
OKLaboklab(89.34% -0.0305 0.1023)
OKLCHoklch(89.34% 0.107 106.6)
XYZxyz(63.6547, 72.2393, 35.3962)
Luminance0.7224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E18C #8C8FE4
analogous
#E4B58C #E4E18C #BBE48C
triadic
#E4E18C #8CE4E1 #E18CE4
tetradic
#E4E18C #8CE4B5 #8C8FE4 #E48CBB
square
#E4E18C #8CE4B5 #8C8FE4 #E48CBB
split-complementary
#E4E18C #8CBBE4 #B58CE4
monochromatic
#C7C22F #D8D45A #E4E18C #F0EEBE #F9F9E6

Accessibility & contrast

On white

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

On black

15.45
#E4E18C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E18C
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E18C#FFFFFF#000000##000000
##E4E18C1.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4e18c;
/* rgb */ color: rgb(228, 225, 140);
/* oklch */ color: oklch(89.3% 0.107 106.6);
Tailwind
colors: {
  custom: {
    50: '#eeeaaf',
    500: '#e4e18c',
    950: '#000000',
  },
}
SCSS
$custom: #e4e18c;
$custom-light: #eeeaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e18c",
  "rgb": {
    "r": 228,
    "g": 225,
    "b": 140
  },
  "hsl": {
    "h": 57.955,
    "s": 61.972,
    "l": 72.157
  },
  "oklch": {
    "l": 0.89336,
    "c": 0.10679,
    "h": 106.6
  },
  "luminance": 0.72238
}

Semantic roles & 50–950 ramp

primary
#E4E18C
secondary
#575BBD
accent
#22CA1C
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E4E18C

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

Preview Lab → · Contrast checker → · Palette generator →

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