#E2F173#E2F173

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

Color values

HEX#E2F173
RGBrgb(226, 241, 115)
HSLhsl(67, 82%, 70%)
HSVhsv(67, 52%, 95%)
CMYKcmyk(6.2%, 0%, 52.3%, 5.5%)
CIE-LABlab(91.83, -22.20, 58.35)
CIE-LCHlch(91.83, 62.43, 110.83°)
OKLaboklab(92.18% -0.064 0.137)
OKLCHoklch(92.18% 0.151 115.1)
XYZxyz(65.9150, 80.3181, 28.2469)
Luminance0.8032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F173 #8273F1
analogous
#F1C173 #E2F173 #A3F173
triadic
#E2F173 #73E2F1 #F173E2
tetradic
#E2F173 #73F1C1 #8273F1 #F173A3
square
#E2F173 #73F1C1 #8273F1 #F173A3
split-complementary
#E2F173 #73A3F1 #C173F1
monochromatic
#BED415 #D6EB3B #E2F173 #EEF7AB #F9FCE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2F173#FFFFFF#000000##000000
##E2F1731.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)
#FFE767
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#EEE5D5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e2f173;
/* rgb */ color: rgb(226, 241, 115);
/* oklch */ color: oklch(92.2% 0.151 115.1);
Tailwind
colors: {
  custom: {
    50: '#edf59f',
    500: '#e2f173',
    950: '#000000',
  },
}
SCSS
$custom: #e2f173;
$custom-light: #edf59f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f173",
  "rgb": {
    "r": 226,
    "g": 241,
    "b": 115
  },
  "hsl": {
    "h": 67.143,
    "s": 81.818,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92185,
    "c": 0.15123,
    "h": 115.1
  },
  "luminance": 0.80317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2F173

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

Preview Lab → · Contrast checker → · Palette generator →

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