#E7F370#E7F370

#E7F370 is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.0% C 0.155 H 113.8°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#E7F370
RGBrgb(231, 243, 112)
HSLhsl(65, 85%, 70%)
HSVhsv(65, 54%, 95%)
CMYKcmyk(4.9%, 0%, 53.9%, 4.7%)
CIE-LABlab(92.69, -21.45, 60.78)
CIE-LCHlch(92.69, 64.46, 109.44°)
OKLaboklab(92.96% -0.0625 0.1419)
OKLCHoklch(92.96% 0.155 113.8)
XYZxyz(67.9316, 82.2611, 27.6255)
Luminance0.8226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F370 #7C70F3
analogous
#F3BD70 #E7F370 #A6F370
triadic
#E7F370 #70E7F3 #F370E7
tetradic
#E7F370 #70F3BD #7C70F3 #F370A6
square
#E7F370 #70F3BD #7C70F3 #F370A6
split-complementary
#E7F370 #70A6F3 #BD70F3
monochromatic
#C5D712 #DEEE38 #E7F370 #F0F8A8 #FAFCE1

Accessibility & contrast

On white

1.20
#E7F370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.45
#E7F370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F370
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F370#FFFFFF#000000##000000
##E7F3701.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE963
Deuteranopia (green-blind)
#FFEB77
Tritanopia (blue-blind)
#F4E7D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #e7f370;
/* rgb */ color: rgb(231, 243, 112);
/* oklch */ color: oklch(93.0% 0.155 113.8);
Tailwind
colors: {
  custom: {
    50: '#f1f79d',
    500: '#e7f370',
    950: '#000000',
  },
}
SCSS
$custom: #e7f370;
$custom-light: #f1f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f370",
  "rgb": {
    "r": 231,
    "g": 243,
    "b": 112
  },
  "hsl": {
    "h": 65.496,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92955,
    "c": 0.15501,
    "h": 113.8
  },
  "luminance": 0.8226
}

Semantic roles & 50–950 ramp

primary
#E7F370
secondary
#483BCD
accent
#05E119
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E7F370

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

Preview Lab → · Contrast checker → · Palette generator →

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