#E4E462#E4E462

#E4E462 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.4% C 0.151 H 109.1°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#E4E462
RGBrgb(228, 228, 98)
HSLhsl(60, 71%, 64%)
HSVhsv(60, 57%, 89%)
CMYKcmyk(0%, 0%, 57%, 10.6%)
CIE-LABlab(88.38, -16.42, 61.99)
CIE-LCHlch(88.38, 64.12, 104.84°)
OKLaboklab(89.42% -0.0495 0.1429)
OKLCHoklch(89.42% 0.151 109.1)
XYZxyz(61.9447, 72.8643, 22.3540)
Luminance0.7286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E462 #6262E4
analogous
#E4A362 #E4E462 #A3E462
triadic
#E4E462 #62E4E4 #E462E4
tetradic
#E4E462 #62E4A3 #6262E4 #E462A3
square
#E4E462 #62E4A3 #6262E4 #E462A3
split-complementary
#E4E462 #62A3E4 #A362E4
monochromatic
#AEAE1E #DBDB2E #E4E462 #EDED96 #F6F6CA

Accessibility & contrast

On white

1.35
#E4E462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.57
#E4E462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E462
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E462#FFFFFF#000000##000000
##E4E4621.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB54
Deuteranopia (green-blind)
#F6E069
Tritanopia (blue-blind)
#F3D7C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e4e462;
/* rgb */ color: rgb(228, 228, 98);
/* oklch */ color: oklch(89.4% 0.151 109.1);
Tailwind
colors: {
  custom: {
    50: '#efec93',
    500: '#e4e462',
    950: '#000000',
  },
}
SCSS
$custom: #e4e462;
$custom-light: #efec93;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e462",
  "rgb": {
    "r": 228,
    "g": 228,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89417,
    "c": 0.15126,
    "h": 109.1
  },
  "luminance": 0.72863
}

Semantic roles & 50–950 ramp

primary
#E4E462
secondary
#3B3BAF
accent
#13D313
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E4E462

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

Preview Lab → · Contrast checker → · Palette generator →

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