#E2F062#E2F062

#E2F062 is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 91.8% C 0.165 H 114.4°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#E2F062
RGBrgb(226, 240, 98)
HSLhsl(66, 83%, 66%)
HSVhsv(66, 59%, 94%)
CMYKcmyk(5.8%, 0%, 59.2%, 5.9%)
CIE-LABlab(91.40, -23.04, 65.27)
CIE-LCHlch(91.40, 69.22, 109.44°)
OKLaboklab(91.79% -0.0681 0.15)
OKLCHoklch(91.79% 0.165 114.4)
XYZxyz(64.7302, 79.3718, 23.4633)
Luminance0.7937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F062 #7062F0
analogous
#F0B762 #E2F062 #9BF062
triadic
#E2F062 #62E2F0 #F062E2
tetradic
#E2F062 #62F0B7 #7062F0 #F0629B
square
#E2F062 #62F0B7 #7062F0 #F0629B
split-complementary
#E2F062 #629BF0 #B762F0
monochromatic
#B3C513 #D8EB2A #E2F062 #ECF59A #F7FBD2

Accessibility & contrast

On white

1.24
#E2F062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.87
#E2F062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F062
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F062#FFFFFF#000000##000000
##E2F0621.001.2416.8716.87
#FFFFFF1.241.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE552
Deuteranopia (green-blind)
#FFE86B
Tritanopia (blue-blind)
#EFE3D2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #e2f062;
/* rgb */ color: rgb(226, 240, 98);
/* oklch */ color: oklch(91.8% 0.165 114.4);
Tailwind
colors: {
  custom: {
    50: '#eef494',
    500: '#e2f062',
    950: '#000000',
  },
}
SCSS
$custom: #e2f062;
$custom-light: #eef494;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f062",
  "rgb": {
    "r": 226,
    "g": 240,
    "b": 98
  },
  "hsl": {
    "h": 65.915,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.91793,
    "c": 0.16469,
    "h": 114.4
  },
  "luminance": 0.79371
}

Semantic roles & 50–950 ramp

primary
#E2F062
secondary
#4234C2
accent
#07DF1C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E2F062

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

Preview Lab → · Contrast checker → · Palette generator →

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