#E2E758#E2E758

#E2E758 is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 89.8% C 0.163 H 111.2°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#E2E758
RGBrgb(226, 231, 88)
HSLhsl(62, 75%, 63%)
HSVhsv(62, 62%, 91%)
CMYKcmyk(2.2%, 0%, 61.9%, 9.4%)
CIE-LABlab(88.94, -19.37, 66.73)
CIE-LCHlch(88.94, 69.48, 106.19°)
OKLaboklab(89.79% -0.0587 0.1517)
OKLCHoklch(89.79% 0.163 111.2)
XYZxyz(61.7032, 74.0266, 20.2688)
Luminance0.7402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E758 #5D58E7
analogous
#E7A558 #E2E758 #9AE758
triadic
#E2E758 #58E2E7 #E758E2
tetradic
#E2E758 #58E7A5 #5D58E7 #E7589A
square
#E2E758 #58E7A5 #5D58E7 #E7589A
split-complementary
#E2E758 #589AE7 #A558E7
monochromatic
#A7AC19 #D9DF22 #E2E758 #EBEF8E #F5F6C3

Accessibility & contrast

On white

1.33
#E2E758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.81
#E2E758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E758
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E758#FFFFFF#000000##000000
##E2E7581.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD46
Deuteranopia (green-blind)
#F9E161
Tritanopia (blue-blind)
#F1DAC9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e2e758;
/* rgb */ color: rgb(226, 231, 88);
/* oklch */ color: oklch(89.8% 0.163 111.2);
Tailwind
colors: {
  custom: {
    50: '#eeee8d',
    500: '#e2e758',
    950: '#000000',
  },
}
SCSS
$custom: #e2e758;
$custom-light: #eeee8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e758",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 88
  },
  "hsl": {
    "h": 62.098,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.89793,
    "c": 0.1627,
    "h": 111.2
  },
  "luminance": 0.74025
}

Semantic roles & 50–950 ramp

primary
#E2E758
secondary
#3A36AD
accent
#0ED715
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E2E758

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

Preview Lab → · Contrast checker → · Palette generator →

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