#E2E258#E2E258

#E2E258 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 88.7% C 0.158 H 109.2°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#E2E258
RGBrgb(226, 226, 88)
HSLhsl(60, 70%, 62%)
HSVhsv(60, 61%, 89%)
CMYKcmyk(0%, 0%, 61.1%, 11.4%)
CIE-LABlab(87.61, -16.93, 65.32)
CIE-LCHlch(87.61, 67.48, 104.53°)
OKLaboklab(88.74% -0.0519 0.1488)
OKLCHoklch(88.74% 0.158 109.2)
XYZxyz(60.3237, 71.2677, 19.8090)
Luminance0.7127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E258 #5858E2
analogous
#E29D58 #E2E258 #9DE258
triadic
#E2E258 #58E2E2 #E258E2
tetradic
#E2E258 #58E29D #5858E2 #E2589D
square
#E2E258 #58E29D #5858E2 #E2589D
split-complementary
#E2E258 #589DE2 #9D58E2
monochromatic
#A3A31C #D7D725 #E2E258 #EBEB8C #F4F4C0

Accessibility & contrast

On white

1.38
#E2E258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.25
#E2E258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E258
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E258#FFFFFF#000000##000000
##E2E2581.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D947
Deuteranopia (green-blind)
#F5DE60
Tritanopia (blue-blind)
#F1D5C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e2e258;
/* rgb */ color: rgb(226, 226, 88);
/* oklch */ color: oklch(88.7% 0.158 109.2);
Tailwind
colors: {
  custom: {
    50: '#eeea8d',
    500: '#e2e258',
    950: '#000000',
  },
}
SCSS
$custom: #e2e258;
$custom-light: #eeea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e258",
  "rgb": {
    "r": 226,
    "g": 226,
    "b": 88
  },
  "hsl": {
    "h": 60,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.88739,
    "c": 0.15753,
    "h": 109.2
  },
  "luminance": 0.71266
}

Semantic roles & 50–950 ramp

primary
#E2E258
secondary
#3838A6
accent
#13D213
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E2E258

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

Preview Lab → · Contrast checker → · Palette generator →

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