#FFE871#FFE871

#FFE871 is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.7% C 0.141 H 98.5°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#FFE871
RGBrgb(255, 232, 113)
HSLhsl(50, 100%, 72%)
HSVhsv(50, 56%, 100%)
CMYKcmyk(0%, 9%, 55.7%, 0%)
CIE-LABlab(91.76, -6.42, 59.77)
CIE-LCHlch(91.76, 60.11, 96.13°)
OKLaboklab(92.68% -0.0209 0.1394)
OKLCHoklch(92.68% 0.141 98.5)
XYZxyz(73.0799, 80.1685, 27.2442)
Luminance0.8016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE871 #7188FF
analogous
#FFA171 #FFE871 #CFFF71
triadic
#FFE871 #71FFE8 #E871FF
tetradic
#FFE871 #71FFA1 #7188FF #FF71CF
square
#FFE871 #71FFA1 #7188FF #FF71CF
split-complementary
#FFE871 #71CFFF #A171FF
monochromatic
#F6CE00 #FFDE34 #FFE871 #FFF2AE #FFFAE0

Accessibility & contrast

On white

1.23
#FFE871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.03
#FFE871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE871
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE871#FFFFFF#000000##000000
##FFE8711.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE365
Deuteranopia (green-blind)
#FFEB77
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe871;
/* rgb */ color: rgb(255, 232, 113);
/* oklch */ color: oklch(92.7% 0.141 98.5);
Tailwind
colors: {
  custom: {
    50: '#ffef9d',
    500: '#ffe871',
    950: '#000000',
  },
}
SCSS
$custom: #ffe871;
$custom-light: #ffef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe871",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 113
  },
  "hsl": {
    "h": 50.282,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92679,
    "c": 0.14091,
    "h": 98.5
  },
  "luminance": 0.80165
}

Semantic roles & 50–950 ramp

primary
#FFE871
secondary
#3853DC
accent
#25E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE871

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

Preview Lab → · Contrast checker → · Palette generator →

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