#E2F27C#E2F27C

#E2F27C is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 92.5% C 0.144 H 115.7°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#E2F27C
RGBrgb(226, 242, 124)
HSLhsl(68, 82%, 72%)
HSVhsv(68, 49%, 95%)
CMYKcmyk(6.6%, 0%, 48.8%, 5.1%)
CIE-LABlab(92.19, -21.89, 54.67)
CIE-LCHlch(92.19, 58.89, 111.82°)
OKLaboklab(92.51% -0.0623 0.1298)
OKLCHoklch(92.51% 0.144 115.7)
XYZxyz(66.7552, 81.1290, 31.2077)
Luminance0.8113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F27C #8C7CF2
analogous
#F2C77C #E2F27C #A7F27C
triadic
#E2F27C #7CE2F2 #F27CE2
tetradic
#E2F27C #7CF2C7 #8C7CF2 #F27CA7
square
#E2F27C #7CF2C7 #8C7CF2 #F27CA7
split-complementary
#E2F27C #7CA7F2 #C77CF2
monochromatic
#C3DE16 #D6EC44 #E2F27C #EEF8B4 #F9FCE3

Accessibility & contrast

On white

1.22
#E2F27C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.23
#E2F27C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F27C
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F27C#FFFFFF#000000##000000
##E2F27C1.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE871
Deuteranopia (green-blind)
#FFEA82
Tritanopia (blue-blind)
#EDE7D7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e2f27c;
/* rgb */ color: rgb(226, 242, 124);
/* oklch */ color: oklch(92.5% 0.144 115.7);
Tailwind
colors: {
  custom: {
    50: '#edf6a4',
    500: '#e2f27c',
    950: '#000000',
  },
}
SCSS
$custom: #e2f27c;
$custom-light: #edf6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f27c",
  "rgb": {
    "r": 226,
    "g": 242,
    "b": 124
  },
  "hsl": {
    "h": 68.136,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92505,
    "c": 0.14395,
    "h": 115.7
  },
  "luminance": 0.81128
}

Semantic roles & 50–950 ramp

primary
#E2F27C
secondary
#5845CD
accent
#07DE24
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E2F27C

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

Preview Lab → · Contrast checker → · Palette generator →

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