#E7F572#E7F572

#E7F572 is a very light, vivid yellow. Relative luminance 0.835; OKLCH L 93.4% C 0.156 H 114.5°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#E7F572
RGBrgb(231, 245, 114)
HSLhsl(66, 87%, 70%)
HSVhsv(66, 53%, 96%)
CMYKcmyk(5.7%, 0%, 53.5%, 3.9%)
CIE-LABlab(93.24, -22.25, 60.53)
CIE-LCHlch(93.24, 64.48, 110.18°)
OKLaboklab(93.4% -0.0645 0.1415)
OKLCHoklch(93.4% 0.156 114.5)
XYZxyz(68.6459, 83.5097, 28.4191)
Luminance0.8351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F572 #8072F5
analogous
#F5C172 #E7F572 #A5F572
triadic
#E7F572 #72E7F5 #F572E7
tetradic
#E7F572 #72F5C1 #8072F5 #F572A5
square
#E7F572 #72F5C1 #8072F5 #F572A5
split-complementary
#E7F572 #72A5F5 #C172F5
monochromatic
#C7DD10 #DDF139 #E7F572 #F1F9AB #FAFDE2

Accessibility & contrast

On white

1.19
#E7F572 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.70
#E7F572 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F572
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F572#FFFFFF#000000##000000
##E7F5721.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA65
Deuteranopia (green-blind)
#FFED79
Tritanopia (blue-blind)
#F4E9D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #e7f572;
/* rgb */ color: rgb(231, 245, 114);
/* oklch */ color: oklch(93.4% 0.156 114.5);
Tailwind
colors: {
  custom: {
    50: '#f1f89e',
    500: '#e7f572',
    950: '#000000',
  },
}
SCSS
$custom: #e7f572;
$custom-light: #f1f89e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f572",
  "rgb": {
    "r": 231,
    "g": 245,
    "b": 114
  },
  "hsl": {
    "h": 66.412,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.93399,
    "c": 0.15554,
    "h": 114.5
  },
  "luminance": 0.83509
}

Semantic roles & 50–950 ramp

primary
#E7F572
secondary
#4C3CCF
accent
#02E31A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E7F572

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

Preview Lab → · Contrast checker → · Palette generator →

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