#E7F671#E7F671

#E7F671 is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.6% C 0.158 H 114.8°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#E7F671
RGBrgb(231, 246, 113)
HSLhsl(67, 88%, 70%)
HSVhsv(67, 54%, 96%)
CMYKcmyk(6.1%, 0%, 54.1%, 3.5%)
CIE-LABlab(93.49, -22.80, 61.26)
CIE-LCHlch(93.49, 65.37, 110.42°)
OKLaboklab(93.6% -0.0662 0.143)
OKLCHoklch(93.6% 0.158 114.8)
XYZxyz(68.8927, 84.0937, 28.2221)
Luminance0.8409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F671 #8071F6
analogous
#F6C271 #E7F671 #A4F671
triadic
#E7F671 #71E7F6 #F671E7
tetradic
#E7F671 #71F6C2 #8071F6 #F671A4
square
#E7F671 #71F6C2 #8071F6 #F671A4
split-complementary
#E7F671 #71A4F6 #C271F6
monochromatic
#C7DE0E #DDF237 #E7F671 #F1FAAB #FAFDE2

Accessibility & contrast

On white

1.18
#E7F671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.82
#E7F671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F671
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F671#FFFFFF#000000##000000
##E7F6711.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB64
Deuteranopia (green-blind)
#FFEE79
Tritanopia (blue-blind)
#F4EAD9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #e7f671;
/* rgb */ color: rgb(231, 246, 113);
/* oklch */ color: oklch(93.6% 0.158 114.8);
Tailwind
colors: {
  custom: {
    50: '#f1f99e',
    500: '#e7f671',
    950: '#000000',
  },
}
SCSS
$custom: #e7f671;
$custom-light: #f1f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f671",
  "rgb": {
    "r": 231,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 66.767,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.93599,
    "c": 0.15758,
    "h": 114.8
  },
  "luminance": 0.84093
}

Semantic roles & 50–950 ramp

primary
#E7F671
secondary
#4C3BD0
accent
#01E51B
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E7F671

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

Preview Lab → · Contrast checker → · Palette generator →

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