#E2E45F#E2E45F

#E2E45F is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.2% C 0.154 H 110.0°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#E2E45F
RGBrgb(226, 228, 95)
HSLhsl(61, 71%, 63%)
HSVhsv(61, 58%, 89%)
CMYKcmyk(0.9%, 0%, 58.3%, 10.6%)
CIE-LABlab(88.20, -17.44, 63.03)
CIE-LCHlch(88.20, 65.40, 105.47°)
OKLaboklab(89.23% -0.0526 0.1448)
OKLCHoklch(89.23% 0.154 110)
XYZxyz(61.1747, 72.4833, 21.5924)
Luminance0.7248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E45F #615FE4
analogous
#E4A35F #E2E45F #9FE45F
triadic
#E2E45F #5FE2E4 #E45FE2
tetradic
#E2E45F #5FE4A3 #615FE4 #E45F9F
square
#E2E45F #5FE4A3 #615FE4 #E45F9F
split-complementary
#E2E45F #5F9FE4 #A35FE4
monochromatic
#A9AC1D #D9DB2B #E2E45F #EBED93 #F5F6C8

Accessibility & contrast

On white

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

On black

15.50
#E2E45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E45F
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E45F#FFFFFF#000000##000000
##E2E45F1.001.3615.5015.50
#FFFFFF1.361.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB50
Deuteranopia (green-blind)
#F6DF67
Tritanopia (blue-blind)
#F0D7C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e2e45f;
/* rgb */ color: rgb(226, 228, 95);
/* oklch */ color: oklch(89.2% 0.154 110.0);
Tailwind
colors: {
  custom: {
    50: '#eeec91',
    500: '#e2e45f',
    950: '#000000',
  },
}
SCSS
$custom: #e2e45f;
$custom-light: #eeec91;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e45f",
  "rgb": {
    "r": 226,
    "g": 228,
    "b": 95
  },
  "hsl": {
    "h": 60.902,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.89225,
    "c": 0.15406,
    "h": 110
  },
  "luminance": 0.72482
}

Semantic roles & 50–950 ramp

primary
#E2E45F
secondary
#3C3AAD
accent
#12D315
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E2E45F

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

Preview Lab → · Contrast checker → · Palette generator →

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