#EFF871#EFF871

#EFF871 is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.6% C 0.158 H 112.5°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#EFF871
RGBrgb(239, 248, 113)
HSLhsl(64, 91%, 71%)
HSVhsv(64, 54%, 97%)
CMYKcmyk(3.6%, 0%, 54.4%, 2.7%)
CIE-LABlab(94.60, -20.63, 62.68)
CIE-LCHlch(94.60, 65.99, 108.22°)
OKLaboklab(94.63% -0.0605 0.1459)
OKLCHoklch(94.63% 0.158 112.5)
XYZxyz(72.1462, 86.6792, 28.5498)
Luminance0.8668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFF871 #7A71F8
analogous
#F8BD71 #EFF871 #ABF871
triadic
#EFF871 #71EFF8 #F871EF
tetradic
#EFF871 #71F8BD #7A71F8 #F871AB
square
#EFF871 #71F8BD #7A71F8 #F871AB
split-complementary
#EFF871 #71ABF8 #BD71F8
monochromatic
#D5E30B #E8F537 #EFF871 #F6FBAB #FCFEE2

Accessibility & contrast

On white

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

On black

18.34
#EFF871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFF871
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFF871#FFFFFF#000000##000000
##EFF8711.001.1518.3418.34
#FFFFFF1.151.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE63
Deuteranopia (green-blind)
#FFF179
Tritanopia (blue-blind)
#FDEBDA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eff871;
/* rgb */ color: rgb(239, 248, 113);
/* oklch */ color: oklch(94.6% 0.158 112.5);
Tailwind
colors: {
  custom: {
    50: '#f7fa9e',
    500: '#eff871',
    950: '#000000',
  },
}
SCSS
$custom: #eff871;
$custom-light: #f7fa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#eff871",
  "rgb": {
    "r": 239,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 64,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94632,
    "c": 0.15798,
    "h": 112.5
  },
  "luminance": 0.86678
}

Semantic roles & 50–950 ramp

primary
#EFF871
secondary
#443AD3
accent
#00E60F
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EFF871

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

Preview Lab → · Contrast checker → · Palette generator →

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