#E4E795#E4E795

#E4E795 is a very light, moderate yellow. Relative luminance 0.758; OKLCH L 90.7% C 0.104 H 110.1°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#E4E795
RGBrgb(228, 231, 149)
HSLhsl(62, 63%, 75%)
HSVhsv(62, 35%, 91%)
CMYKcmyk(1.3%, 0%, 35.5%, 9.4%)
CIE-LABlab(89.77, -13.17, 39.63)
CIE-LCHlch(89.77, 41.76, 108.38°)
OKLaboklab(90.72% -0.0356 0.0974)
OKLCHoklch(90.72% 0.104 110.1)
XYZxyz(65.9962, 75.8168, 39.5854)
Luminance0.7582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E795 #9895E7
analogous
#E7C195 #E4E795 #BBE795
triadic
#E4E795 #95E4E7 #E795E4
tetradic
#E4E795 #95E7C1 #9895E7 #E795BB
square
#E4E795 #95E7C1 #9895E7 #E795BB
split-complementary
#E4E795 #95BBE7 #C195E7
monochromatic
#CBD031 #D7DC63 #E4E795 #F1F2C7 #F9F9E6

Accessibility & contrast

On white

1.30
#E4E795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.16
#E4E795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E795
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E795#FFFFFF#000000##000000
##E4E7951.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E08F
Deuteranopia (green-blind)
#F4E399
Tritanopia (blue-blind)
#EEDED2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e4e795;
/* rgb */ color: rgb(228, 231, 149);
/* oklch */ color: oklch(90.7% 0.104 110.1);
Tailwind
colors: {
  custom: {
    50: '#edeeb5',
    500: '#e4e795',
    950: '#000000',
  },
}
SCSS
$custom: #e4e795;
$custom-light: #edeeb5;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e795",
  "rgb": {
    "r": 228,
    "g": 231,
    "b": 149
  },
  "hsl": {
    "h": 62.195,
    "s": 63.077,
    "l": 74.51
  },
  "oklch": {
    "l": 0.90722,
    "c": 0.10374,
    "h": 110.1
  },
  "luminance": 0.75816
}

Semantic roles & 50–950 ramp

primary
#E4E795
secondary
#635FC1
accent
#1BCB21
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E4E795

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

Preview Lab → · Contrast checker → · Palette generator →

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