#E4E270#E4E270

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

Color values

HEX#E4E270
RGBrgb(228, 226, 112)
HSLhsl(59, 68%, 67%)
HSVhsv(59, 51%, 89%)
CMYKcmyk(0%, 0.9%, 50.9%, 10.6%)
CIE-LABlab(88.00, -14.36, 55.28)
CIE-LCHlch(88.00, 57.12, 104.56°)
OKLaboklab(89.15% -0.0422 0.13)
OKLCHoklch(89.15% 0.137 108)
XYZxyz(62.1174, 72.0582, 25.9625)
Luminance0.7206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E270 #7072E4
analogous
#E4A870 #E4E270 #ACE470
triadic
#E4E270 #70E4E2 #E270E4
tetradic
#E4E270 #70E4A8 #7072E4 #E470AC
square
#E4E270 #70E4A8 #7072E4 #E470AC
split-complementary
#E4E270 #70ACE4 #A870E4
monochromatic
#B7B423 #DAD83D #E4E270 #EEECA3 #F7F7D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4E270#FFFFFF#000000##000000
##E4E2701.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)
#F2DA65
Deuteranopia (green-blind)
#F4DF76
Tritanopia (blue-blind)
#F2D6C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e4e270;
/* rgb */ color: rgb(228, 226, 112);
/* oklch */ color: oklch(89.2% 0.137 108.0);
Tailwind
colors: {
  custom: {
    50: '#efea9c',
    500: '#e4e270',
    950: '#000000',
  },
}
SCSS
$custom: #e4e270;
$custom-light: #efea9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e270",
  "rgb": {
    "r": 228,
    "g": 226,
    "b": 112
  },
  "hsl": {
    "h": 58.966,
    "s": 68.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.89154,
    "c": 0.1367,
    "h": 108
  },
  "luminance": 0.72057
}

Semantic roles & 50–950 ramp

primary
#E4E270
secondary
#4143B7
accent
#19D015
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E4E270

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

Preview Lab → · Contrast checker → · Palette generator →

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