#E7F873#E7F873

#E7F873 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.0% C 0.158 H 115.6°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#E7F873
RGBrgb(231, 248, 115)
HSLhsl(68, 90%, 71%)
HSVhsv(68, 54%, 97%)
CMYKcmyk(6.9%, 0%, 53.6%, 2.7%)
CIE-LABlab(94.04, -23.60, 61.01)
CIE-LCHlch(94.04, 65.41, 111.15°)
OKLaboklab(94.04% -0.0683 0.1427)
OKLCHoklch(94.04% 0.158 115.6)
XYZxyz(69.6181, 85.3624, 29.0255)
Luminance0.8536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F873 #8473F8
analogous
#F8C673 #E7F873 #A4F873
triadic
#E7F873 #73E7F8 #F873E7
tetradic
#E7F873 #73F8C6 #8473F8 #F873A4
square
#E7F873 #73F8C6 #8473F8 #F873A4
split-complementary
#E7F873 #73A4F8 #C673F8
monochromatic
#C9E50B #DDF539 #E7F873 #F1FBAD #FAFEE2

Accessibility & contrast

On white

1.16
#E7F873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.07
#E7F873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F873
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F873#FFFFFF#000000##000000
##E7F8731.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED66
Deuteranopia (green-blind)
#FFEF7B
Tritanopia (blue-blind)
#F4ECDB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #e7f873;
/* rgb */ color: rgb(231, 248, 115);
/* oklch */ color: oklch(94.0% 0.158 115.6);
Tailwind
colors: {
  custom: {
    50: '#f1fa9f',
    500: '#e7f873',
    950: '#000000',
  },
}
SCSS
$custom: #e7f873;
$custom-light: #f1fa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f873",
  "rgb": {
    "r": 231,
    "g": 248,
    "b": 115
  },
  "hsl": {
    "h": 67.669,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94044,
    "c": 0.15814,
    "h": 115.6
  },
  "luminance": 0.85362
}

Semantic roles & 50–950 ramp

primary
#E7F873
secondary
#4F3CD3
accent
#00E61D
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E7F873

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

Preview Lab → · Contrast checker → · Palette generator →

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