#E8F370#E8F370

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

Color values

HEX#E8F370
RGBrgb(232, 243, 112)
HSLhsl(65, 85%, 70%)
HSVhsv(65, 54%, 95%)
CMYKcmyk(4.5%, 0%, 53.9%, 4.7%)
CIE-LABlab(92.76, -21.06, 60.89)
CIE-LCHlch(92.76, 64.42, 109.08°)
OKLaboklab(93.03% -0.0614 0.1421)
OKLCHoklch(93.03% 0.155 113.4)
XYZxyz(68.2553, 82.4280, 27.6407)
Luminance0.8243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F370 #7B70F3
analogous
#F3BC70 #E8F370 #A7F370
triadic
#E8F370 #70E8F3 #F370E8
tetradic
#E8F370 #70F3BC #7B70F3 #F370A7
square
#E8F370 #70F3BC #7B70F3 #F370A7
split-complementary
#E8F370 #70A7F3 #BC70F3
monochromatic
#C6D712 #DFEE38 #E8F370 #F1F8A8 #FAFCE1

Accessibility & contrast

On white

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

On black

17.49
#E8F370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F370
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F370#FFFFFF#000000##000000
##E8F3701.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8f370;
/* rgb */ color: rgb(232, 243, 112);
/* oklch */ color: oklch(93.0% 0.155 113.4);
Tailwind
colors: {
  custom: {
    50: '#f2f79d',
    500: '#e8f370',
    950: '#000000',
  },
}
SCSS
$custom: #e8f370;
$custom-light: #f2f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f370",
  "rgb": {
    "r": 232,
    "g": 243,
    "b": 112
  },
  "hsl": {
    "h": 65.038,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93032,
    "c": 0.15479,
    "h": 113.4
  },
  "luminance": 0.82427
}

Semantic roles & 50–950 ramp

primary
#E8F370
secondary
#473BCD
accent
#05E117
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E8F370

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

Preview Lab → · Contrast checker → · Palette generator →

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