#FEE871#FEE871

#FEE871 is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.6% C 0.141 H 99.0°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#FEE871
RGBrgb(254, 232, 113)
HSLhsl(51, 99%, 72%)
HSVhsv(51, 56%, 100%)
CMYKcmyk(0%, 8.7%, 55.5%, 0.4%)
CIE-LABlab(91.68, -6.83, 59.65)
CIE-LCHlch(91.68, 60.04, 96.53°)
OKLaboklab(92.59% -0.022 0.1391)
OKLCHoklch(92.59% 0.141 99)
XYZxyz(72.7129, 79.9793, 27.2270)
Luminance0.7998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEE871 #7187FE
analogous
#FEA271 #FEE871 #CEFE71
triadic
#FEE871 #71FEE8 #E871FE
tetradic
#FEE871 #71FEA2 #7187FE #FE71CE
square
#FEE871 #71FEA2 #7187FE #FE71CE
split-complementary
#FEE871 #71CEFE #A271FE
monochromatic
#F3CD02 #FEDE34 #FEE871 #FEF2AE #FFFAE1

Accessibility & contrast

On white

1.24
#FEE871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.00
#FEE871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEE871
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEE871#FFFFFF#000000##000000
##FEE8711.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fee871;
/* rgb */ color: rgb(254, 232, 113);
/* oklch */ color: oklch(92.6% 0.141 99.0);
Tailwind
colors: {
  custom: {
    50: '#ffef9d',
    500: '#fee871',
    950: '#000000',
  },
}
SCSS
$custom: #fee871;
$custom-light: #ffef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fee871",
  "rgb": {
    "r": 254,
    "g": 232,
    "b": 113
  },
  "hsl": {
    "h": 50.638,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92591,
    "c": 0.14084,
    "h": 99
  },
  "luminance": 0.79976
}

Semantic roles & 50–950 ramp

primary
#FEE871
secondary
#3952DB
accent
#24E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FEE871

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

Preview Lab → · Contrast checker → · Palette generator →

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