#E5F172#E5F172

#E5F172 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.4% C 0.151 H 113.9°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#E5F172
RGBrgb(229, 241, 114)
HSLhsl(66, 82%, 70%)
HSVhsv(66, 53%, 95%)
CMYKcmyk(5%, 0%, 52.7%, 5.5%)
CIE-LABlab(92.04, -21.11, 59.10)
CIE-LCHlch(92.04, 62.76, 109.66°)
OKLaboklab(92.4% -0.0612 0.1385)
OKLCHoklch(92.4% 0.151 113.9)
XYZxyz(66.8069, 80.7846, 27.9900)
Luminance0.8078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5F172 #7E72F1
analogous
#F1BD72 #E5F172 #A6F172
triadic
#E5F172 #72E5F1 #F172E5
tetradic
#E5F172 #72F1BD #7E72F1 #F172A6
square
#E5F172 #72F1BD #7E72F1 #F172A6
split-complementary
#E5F172 #72A6F1 #BD72F1
monochromatic
#C2D415 #DBEB3A #E5F172 #EFF7AA #FAFCE1

Accessibility & contrast

On white

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

On black

17.16
#E5F172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5F172
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5F172#FFFFFF#000000##000000
##E5F1721.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE766
Deuteranopia (green-blind)
#FFEA79
Tritanopia (blue-blind)
#F2E5D5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e5f172;
/* rgb */ color: rgb(229, 241, 114);
/* oklch */ color: oklch(92.4% 0.151 113.9);
Tailwind
colors: {
  custom: {
    50: '#eff59e',
    500: '#e5f172',
    950: '#000000',
  },
}
SCSS
$custom: #e5f172;
$custom-light: #eff59e;
$custom-dark: #000000;
JSON
{
  "hex": "#e5f172",
  "rgb": {
    "r": 229,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 65.669,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92402,
    "c": 0.1514,
    "h": 113.9
  },
  "luminance": 0.80784
}

Semantic roles & 50–950 ramp

primary
#E5F172
secondary
#4A3DCA
accent
#07DE1C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E5F172

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

Preview Lab → · Contrast checker → · Palette generator →

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