#E4E955#E4E955

#E4E955 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.3% C 0.167 H 111.2°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#E4E955
RGBrgb(228, 233, 85)
HSLhsl(62, 77%, 62%)
HSVhsv(62, 64%, 91%)
CMYKcmyk(2.1%, 0%, 63.5%, 8.6%)
CIE-LABlab(89.59, -19.71, 68.66)
CIE-LCHlch(89.59, 71.44, 106.02°)
OKLaboklab(90.35% -0.0601 0.1553)
OKLCHoklch(90.35% 0.167 111.2)
XYZxyz(62.7754, 75.4292, 19.8450)
Luminance0.7543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E955 #5A55E9
analogous
#E9A455 #E4E955 #9AE955
triadic
#E4E955 #55E4E9 #E955E4
tetradic
#E4E955 #55E9A4 #5A55E9 #E9559A
square
#E4E955 #55E9A4 #5A55E9 #E9559A
split-complementary
#E4E955 #559AE9 #A455E9
monochromatic
#A8AD16 #DBE21F #E4E955 #EDF08B #F5F7C1

Accessibility & contrast

On white

1.31
#E4E955 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.09
#E4E955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E955
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E955#FFFFFF#000000##000000
##E4E9551.001.3116.0916.09
#FFFFFF1.311.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF41
Deuteranopia (green-blind)
#FBE35F
Tritanopia (blue-blind)
#F3DBCB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e4e955;
/* rgb */ color: rgb(228, 233, 85);
/* oklch */ color: oklch(90.3% 0.167 111.2);
Tailwind
colors: {
  custom: {
    50: '#f0ef8c',
    500: '#e4e955',
    950: '#000000',
  },
}
SCSS
$custom: #e4e955;
$custom-light: #f0ef8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e955",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 85
  },
  "hsl": {
    "h": 62.027,
    "s": 77.083,
    "l": 62.353
  },
  "oklch": {
    "l": 0.9035,
    "c": 0.16657,
    "h": 111.2
  },
  "luminance": 0.75428
}

Semantic roles & 50–950 ramp

primary
#E4E955
secondary
#3834AE
accent
#0CD913
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E4E955

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

Preview Lab → · Contrast checker → · Palette generator →

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