#E2F174#E2F174

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

Color values

HEX#E2F174
RGBrgb(226, 241, 116)
HSLhsl(67, 82%, 70%)
HSVhsv(67, 52%, 95%)
CMYKcmyk(6.2%, 0%, 51.9%, 5.5%)
CIE-LABlab(91.84, -22.12, 57.91)
CIE-LCHlch(91.84, 61.99, 110.90°)
OKLaboklab(92.2% -0.0637 0.1361)
OKLCHoklch(92.2% 0.15 115.1)
XYZxyz(65.9728, 80.3412, 28.5516)
Luminance0.8034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F174 #8374F1
analogous
#F1C174 #E2F174 #A4F174
triadic
#E2F174 #74E2F1 #F174E2
tetradic
#E2F174 #74F1C1 #8374F1 #F174A4
square
#E2F174 #74F1C1 #8374F1 #F174A4
split-complementary
#E2F174 #74A4F1 #C174F1
monochromatic
#BED515 #D6EB3C #E2F174 #EEF7AC #F9FCE3

Accessibility & contrast

On white

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

On black

17.07
#E2F174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F174
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F174#FFFFFF#000000##000000
##E2F1741.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE768
Deuteranopia (green-blind)
#FFE97B
Tritanopia (blue-blind)
#EEE5D5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e2f174;
/* rgb */ color: rgb(226, 241, 116);
/* oklch */ color: oklch(92.2% 0.150 115.1);
Tailwind
colors: {
  custom: {
    50: '#edf59f',
    500: '#e2f174',
    950: '#000000',
  },
}
SCSS
$custom: #e2f174;
$custom-light: #edf59f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f174",
  "rgb": {
    "r": 226,
    "g": 241,
    "b": 116
  },
  "hsl": {
    "h": 67.2,
    "s": 81.699,
    "l": 70
  },
  "oklch": {
    "l": 0.92196,
    "c": 0.15031,
    "h": 115.1
  },
  "luminance": 0.8034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2F174

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

Preview Lab → · Contrast checker → · Palette generator →

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