#E2F172#E2F172

#E2F172 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.2% C 0.152 H 115.0°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#E2F172
RGBrgb(226, 241, 114)
HSLhsl(67, 82%, 70%)
HSVhsv(67, 53%, 95%)
CMYKcmyk(6.2%, 0%, 52.7%, 5.5%)
CIE-LABlab(91.82, -22.28, 58.79)
CIE-LCHlch(91.82, 62.87, 110.76°)
OKLaboklab(92.17% -0.0644 0.1379)
OKLCHoklch(92.17% 0.152 115)
XYZxyz(65.8577, 80.2952, 27.9455)
Luminance0.8029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F172 #8172F1
analogous
#F1C172 #E2F172 #A2F172
triadic
#E2F172 #72E2F1 #F172E2
tetradic
#E2F172 #72F1C1 #8172F1 #F172A2
square
#E2F172 #72F1C1 #8172F1 #F172A2
split-complementary
#E2F172 #72A2F1 #C172F1
monochromatic
#BDD415 #D7EB3A #E2F172 #EDF7AA #F9FCE1

Accessibility & contrast

On white

1.23
#E2F172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.06
#E2F172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F172
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F172#FFFFFF#000000##000000
##E2F1721.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE766
Deuteranopia (green-blind)
#FFE979
Tritanopia (blue-blind)
#EEE5D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #e2f172;
/* rgb */ color: rgb(226, 241, 114);
/* oklch */ color: oklch(92.2% 0.152 115.0);
Tailwind
colors: {
  custom: {
    50: '#edf59e',
    500: '#e2f172',
    950: '#000000',
  },
}
SCSS
$custom: #e2f172;
$custom-light: #edf59e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f172",
  "rgb": {
    "r": 226,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 67.087,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92173,
    "c": 0.15214,
    "h": 115
  },
  "luminance": 0.80294
}

Semantic roles & 50–950 ramp

primary
#E2F172
secondary
#4E3DCA
accent
#07DE21
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E2F172

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

Preview Lab → · Contrast checker → · Palette generator →

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