#E5E186#E5E186

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

Color values

HEX#E5E186
RGBrgb(229, 225, 134)
HSLhsl(57, 65%, 71%)
HSVhsv(57, 41%, 90%)
CMYKcmyk(0%, 1.7%, 41.5%, 10.2%)
CIE-LABlab(88.08, -11.42, 44.91)
CIE-LCHlch(88.08, 46.34, 104.27°)
OKLaboklab(89.33% -0.0318 0.1087)
OKLCHoklch(89.33% 0.113 106.3)
XYZxyz(63.5425, 72.2312, 33.1444)
Luminance0.7223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E186 #868AE5
analogous
#E5B186 #E5E186 #B9E586
triadic
#E5E186 #86E5E1 #E186E5
tetradic
#E5E186 #86E5B1 #868AE5 #E586B9
square
#E5E186 #86E5B1 #868AE5 #E586B9
split-complementary
#E5E186 #86B9E5 #B186E5
monochromatic
#C6BF2B #DAD554 #E5E186 #F0EDB8 #FAF9E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5E186#FFFFFF#000000##000000
##E5E1861.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)
#EFDB7F
Deuteranopia (green-blind)
#F1DF8A
Tritanopia (blue-blind)
#F1D6CB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e5e186;
/* rgb */ color: rgb(229, 225, 134);
/* oklch */ color: oklch(89.3% 0.113 106.3);
Tailwind
colors: {
  custom: {
    50: '#efeaaa',
    500: '#e5e186',
    950: '#000000',
  },
}
SCSS
$custom: #e5e186;
$custom-light: #efeaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e186",
  "rgb": {
    "r": 229,
    "g": 225,
    "b": 134
  },
  "hsl": {
    "h": 57.474,
    "s": 64.626,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89325,
    "c": 0.11328,
    "h": 106.3
  },
  "luminance": 0.7223
}

Semantic roles & 50–950 ramp

primary
#E5E186
secondary
#5256BE
accent
#21CC19
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #E5E186

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

Preview Lab → · Contrast checker → · Palette generator →

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