#E2F058#E2F058

#E2F058 is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 91.7% C 0.172 H 114.3°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#E2F058
RGBrgb(226, 240, 88)
HSLhsl(66, 84%, 64%)
HSVhsv(66, 63%, 94%)
CMYKcmyk(5.8%, 0%, 63.3%, 5.9%)
CIE-LABlab(91.32, -23.70, 69.25)
CIE-LCHlch(91.32, 73.19, 108.89°)
OKLaboklab(91.7% -0.0709 0.157)
OKLCHoklch(91.7% 0.172 114.3)
XYZxyz(64.2872, 79.1946, 21.1302)
Luminance0.7919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F058 #6658F0
analogous
#F0B258 #E2F058 #96F058
triadic
#E2F058 #58E2F0 #F058E2
tetradic
#E2F058 #58F0B2 #6658F0 #F05896
square
#E2F058 #58F0B2 #6658F0 #F05896
split-complementary
#E2F058 #5896F0 #B258F0
monochromatic
#ADBD11 #D8EB20 #E2F058 #ECF590 #F6FAC8

Accessibility & contrast

On white

1.25
#E2F058 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.84
#E2F058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F058
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F058#FFFFFF#000000##000000
##E2F0581.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE544
Deuteranopia (green-blind)
#FFE862
Tritanopia (blue-blind)
#F0E3D1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #e2f058;
/* rgb */ color: rgb(226, 240, 88);
/* oklch */ color: oklch(91.7% 0.172 114.3);
Tailwind
colors: {
  custom: {
    50: '#eef48e',
    500: '#e2f058',
    950: '#000000',
  },
}
SCSS
$custom: #e2f058;
$custom-light: #eef48e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f058",
  "rgb": {
    "r": 226,
    "g": 240,
    "b": 88
  },
  "hsl": {
    "h": 65.526,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.91703,
    "c": 0.17231,
    "h": 114.3
  },
  "luminance": 0.79194
}

Semantic roles & 50–950 ramp

primary
#E2F058
secondary
#3E31BB
accent
#06E01A
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E2F058

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

Preview Lab → · Contrast checker → · Palette generator →

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