#E4E186#E4E186

#E4E186 is a very light, moderate yellow. Relative luminance 0.721; OKLCH L 89.2% C 0.113 H 106.8°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#E4E186
RGBrgb(228, 225, 134)
HSLhsl(58, 64%, 71%)
HSVhsv(58, 41%, 89%)
CMYKcmyk(0%, 1.3%, 41.2%, 10.6%)
CIE-LABlab(88.00, -11.81, 44.79)
CIE-LCHlch(88.00, 46.32, 104.77°)
OKLaboklab(89.24% -0.0328 0.1085)
OKLCHoklch(89.24% 0.113 106.8)
XYZxyz(63.2243, 72.0671, 33.1295)
Luminance0.7207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E186 #8689E4
analogous
#E4B286 #E4E186 #B8E486
triadic
#E4E186 #86E4E1 #E186E4
tetradic
#E4E186 #86E4B2 #8689E4 #E486B8
square
#E4E186 #86E4B2 #8689E4 #E486B8
split-complementary
#E4E186 #86B8E4 #B286E4
monochromatic
#C4BF2C #D9D554 #E4E186 #EFEDB8 #F9F9E6

Accessibility & contrast

On white

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

On black

15.41
#E4E186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E186
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E186#FFFFFF#000000##000000
##E4E1861.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA7F
Deuteranopia (green-blind)
#F1DF8A
Tritanopia (blue-blind)
#F0D6CB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e4e186;
/* rgb */ color: rgb(228, 225, 134);
/* oklch */ color: oklch(89.2% 0.113 106.8);
Tailwind
colors: {
  custom: {
    50: '#eeeaaa',
    500: '#e4e186',
    950: '#000000',
  },
}
SCSS
$custom: #e4e186;
$custom-light: #eeeaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e186",
  "rgb": {
    "r": 228,
    "g": 225,
    "b": 134
  },
  "hsl": {
    "h": 58.085,
    "s": 63.514,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89243,
    "c": 0.11335,
    "h": 106.8
  },
  "luminance": 0.72066
}

Semantic roles & 50–950 ramp

primary
#E4E186
secondary
#5255BC
accent
#20CB1A
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #E4E186

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

Preview Lab → · Contrast checker → · Palette generator →

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