#F1E871#F1E871

#F1E871 is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.5% C 0.141 H 104.9°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#F1E871
RGBrgb(241, 232, 113)
HSLhsl(56, 82%, 69%)
HSVhsv(56, 53%, 95%)
CMYKcmyk(0%, 3.7%, 53.1%, 5.5%)
CIE-LABlab(90.60, -12.04, 58.13)
CIE-LCHlch(90.60, 59.36, 101.71°)
OKLaboklab(91.48% -0.0362 0.1361)
OKLCHoklch(91.48% 0.141 104.9)
XYZxyz(68.1149, 77.6084, 27.0115)
Luminance0.7761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1E871 #717AF1
analogous
#F1A871 #F1E871 #BAF171
triadic
#F1E871 #71F1E8 #E871F1
tetradic
#F1E871 #71F1A8 #717AF1 #F171BA
square
#F1E871 #71F1A8 #717AF1 #F171BA
split-complementary
#F1E871 #71BAF1 #A871F1
monochromatic
#D3C515 #ECDF39 #F1E871 #F6F1A9 #FCFAE0

Accessibility & contrast

On white

1.27
#F1E871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.52
#F1E871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1E871
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1E871#FFFFFF#000000##000000
##F1E8711.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E165
Deuteranopia (green-blind)
#FDE777
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f1e871;
/* rgb */ color: rgb(241, 232, 113);
/* oklch */ color: oklch(91.5% 0.141 104.9);
Tailwind
colors: {
  custom: {
    50: '#f8ef9d',
    500: '#f1e871',
    950: '#000000',
  },
}
SCSS
$custom: #f1e871;
$custom-light: #f8ef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f1e871",
  "rgb": {
    "r": 241,
    "g": 232,
    "b": 113
  },
  "hsl": {
    "h": 55.781,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91481,
    "c": 0.14081,
    "h": 104.9
  },
  "luminance": 0.77606
}

Semantic roles & 50–950 ramp

primary
#F1E871
secondary
#3C46CA
accent
#16DE07
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F1E871

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

Preview Lab → · Contrast checker → · Palette generator →

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