#E4E185#E4E185

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

Color values

HEX#E4E185
RGBrgb(228, 225, 133)
HSLhsl(58, 64%, 71%)
HSVhsv(58, 42%, 89%)
CMYKcmyk(0%, 1.3%, 41.7%, 10.6%)
CIE-LABlab(87.99, -11.91, 45.27)
CIE-LCHlch(87.99, 46.81, 104.75°)
OKLaboklab(89.23% -0.0332 0.1095)
OKLCHoklch(89.23% 0.114 106.9)
XYZxyz(63.1549, 72.0393, 32.7639)
Luminance0.7204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E185 #8588E4
analogous
#E4B185 #E4E185 #B7E485
triadic
#E4E185 #85E4E1 #E185E4
tetradic
#E4E185 #85E4B1 #8588E4 #E485B7
square
#E4E185 #85E4B1 #8588E4 #E485B7
split-complementary
#E4E185 #85B7E4 #B185E4
monochromatic
#C3BF2B #D9D553 #E4E185 #EFEDB7 #F9F9E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4E185#FFFFFF#000000##000000
##E4E1851.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)
#EFDA7E
Deuteranopia (green-blind)
#F1DF89
Tritanopia (blue-blind)
#F0D6CB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e4e185;
/* rgb */ color: rgb(228, 225, 133);
/* oklch */ color: oklch(89.2% 0.114 106.9);
Tailwind
colors: {
  custom: {
    50: '#eeeaaa',
    500: '#e4e185',
    950: '#000000',
  },
}
SCSS
$custom: #e4e185;
$custom-light: #eeeaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e185",
  "rgb": {
    "r": 228,
    "g": 225,
    "b": 133
  },
  "hsl": {
    "h": 58.105,
    "s": 63.758,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89228,
    "c": 0.11443,
    "h": 106.9
  },
  "luminance": 0.72038
}

Semantic roles & 50–950 ramp

primary
#E4E185
secondary
#5154BC
accent
#20CC1A
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #E4E185

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

Preview Lab → · Contrast checker → · Palette generator →

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