#E7F970#E7F970

#E7F970 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.2% C 0.162 H 115.8°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#E7F970
RGBrgb(231, 249, 112)
HSLhsl(68, 92%, 71%)
HSVhsv(68, 55%, 98%)
CMYKcmyk(7.2%, 0%, 55%, 2.4%)
CIE-LABlab(94.27, -24.31, 62.59)
CIE-LCHlch(94.27, 67.15, 111.23°)
OKLaboklab(94.22% -0.0706 0.1458)
OKLCHoklch(94.22% 0.162 115.8)
XYZxyz(69.7565, 85.9110, 28.2338)
Luminance0.8591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F970 #8270F9
analogous
#F9C670 #E7F970 #A2F970
triadic
#E7F970 #70E7F9 #F970E7
tetradic
#E7F970 #70F9C6 #8270F9 #F970A2
square
#E7F970 #70F9C6 #8270F9 #F970A2
split-complementary
#E7F970 #70A2F9 #C670F9
monochromatic
#C8E50A #DDF735 #E7F970 #F1FBAB #FAFEE2

Accessibility & contrast

On white

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

On black

18.18
#E7F970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F970
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F970#FFFFFF#000000##000000
##E7F9701.001.1518.1818.18
#FFFFFF1.151.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE62
Deuteranopia (green-blind)
#FFF078
Tritanopia (blue-blind)
#F4EDDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #e7f970;
/* rgb */ color: rgb(231, 249, 112);
/* oklch */ color: oklch(94.2% 0.162 115.8);
Tailwind
colors: {
  custom: {
    50: '#f1fb9d',
    500: '#e7f970',
    950: '#000000',
  },
}
SCSS
$custom: #e7f970;
$custom-light: #f1fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f970",
  "rgb": {
    "r": 231,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 67.883,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94223,
    "c": 0.16194,
    "h": 115.8
  },
  "luminance": 0.8591
}

Semantic roles & 50–950 ramp

primary
#E7F970
secondary
#4D39D4
accent
#00E61E
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E7F970

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

Preview Lab → · Contrast checker → · Palette generator →

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