#E4E262#E4E262

#E4E262 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.0% C 0.149 H 108.3°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#E4E262
RGBrgb(228, 226, 98)
HSLhsl(59, 71%, 64%)
HSVhsv(59, 57%, 89%)
CMYKcmyk(0%, 0.9%, 57%, 10.6%)
CIE-LABlab(87.86, -15.44, 61.40)
CIE-LCHlch(87.86, 63.31, 104.12°)
OKLaboklab(89% -0.0467 0.1417)
OKLCHoklch(89% 0.149 108.3)
XYZxyz(61.3977, 71.7702, 22.1717)
Luminance0.7177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E262 #6264E4
analogous
#E4A162 #E4E262 #A5E462
triadic
#E4E262 #62E4E2 #E262E4
tetradic
#E4E262 #62E4A1 #6264E4 #E462A5
square
#E4E262 #62E4A1 #6264E4 #E462A5
split-complementary
#E4E262 #62A5E4 #A162E4
monochromatic
#AEAC1E #DBD82E #E4E262 #EDEC96 #F6F5CA

Accessibility & contrast

On white

1.37
#E4E262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.35
#E4E262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E262
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E262#FFFFFF#000000##000000
##E4E2621.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA54
Deuteranopia (green-blind)
#F5DF69
Tritanopia (blue-blind)
#F3D5C6
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e4e262;
/* rgb */ color: rgb(228, 226, 98);
/* oklch */ color: oklch(89.0% 0.149 108.3);
Tailwind
colors: {
  custom: {
    50: '#efea93',
    500: '#e4e262',
    950: '#000000',
  },
}
SCSS
$custom: #e4e262;
$custom-light: #efea93;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e262",
  "rgb": {
    "r": 228,
    "g": 226,
    "b": 98
  },
  "hsl": {
    "h": 59.077,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.88999,
    "c": 0.14918,
    "h": 108.3
  },
  "luminance": 0.71769
}

Semantic roles & 50–950 ramp

primary
#E4E262
secondary
#3B3DAF
accent
#16D313
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E4E262

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

Preview Lab → · Contrast checker → · Palette generator →

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