#E7FA72#E7FA72

#E7FA72 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.5% C 0.161 H 116.2°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#E7FA72
RGBrgb(231, 250, 114)
HSLhsl(68, 93%, 71%)
HSVhsv(68, 54%, 98%)
CMYKcmyk(7.6%, 0%, 54.4%, 2%)
CIE-LABlab(94.56, -24.63, 62.04)
CIE-LCHlch(94.56, 66.75, 111.65°)
OKLaboklab(94.46% -0.0713 0.1448)
OKLCHoklch(94.46% 0.161 116.2)
XYZxyz(70.1790, 86.5759, 28.9301)
Luminance0.8658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7FA72 #8572FA
analogous
#FAC972 #E7FA72 #A3FA72
triadic
#E7FA72 #72E7FA #FA72E7
tetradic
#E7FA72 #72FAC9 #8572FA #FA72A3
square
#E7FA72 #72FAC9 #8572FA #FA72A3
split-complementary
#E7FA72 #72A3FA #C972FA
monochromatic
#CAE908 #DDF837 #E7FA72 #F1FCAD #FAFEE1

Accessibility & contrast

On white

1.15
#E7FA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.32
#E7FA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7FA72
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7FA72#FFFFFF#000000##000000
##E7FA721.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF64
Deuteranopia (green-blind)
#FFF07A
Tritanopia (blue-blind)
#F3EEDC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #e7fa72;
/* rgb */ color: rgb(231, 250, 114);
/* oklch */ color: oklch(94.5% 0.161 116.2);
Tailwind
colors: {
  custom: {
    50: '#f1fb9e',
    500: '#e7fa72',
    950: '#000000',
  },
}
SCSS
$custom: #e7fa72;
$custom-light: #f1fb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7fa72",
  "rgb": {
    "r": 231,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 68.382,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94456,
    "c": 0.16136,
    "h": 116.2
  },
  "luminance": 0.86575
}

Semantic roles & 50–950 ramp

primary
#E7FA72
secondary
#503BD6
accent
#00E620
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E7FA72

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

Preview Lab → · Contrast checker → · Palette generator →

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