#F1E171#F1E171

#F1E171 is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 90.1% C 0.134 H 101.3°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#F1E171
RGBrgb(241, 225, 113)
HSLhsl(53, 82%, 69%)
HSVhsv(53, 53%, 95%)
CMYKcmyk(0%, 6.6%, 53.1%, 5.5%)
CIE-LABlab(88.80, -8.56, 56.03)
CIE-LCHlch(88.80, 56.68, 98.69°)
OKLaboklab(90.05% -0.0262 0.1315)
OKLCHoklch(90.05% 0.134 101.3)
XYZxyz(66.1836, 73.7459, 26.3677)
Luminance0.7374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1E171 #7181F1
analogous
#F1A171 #F1E171 #C1F171
triadic
#F1E171 #71F1E1 #E171F1
tetradic
#F1E171 #71F1A1 #7181F1 #F171C1
square
#F1E171 #71F1A1 #7181F1 #F171C1
split-complementary
#F1E171 #71C1F1 #A171F1
monochromatic
#D3BB15 #ECD539 #F1E171 #F6EDA9 #FCF9E0

Accessibility & contrast

On white

1.33
#F1E171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.75
#F1E171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1E171
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1E171#FFFFFF#000000##000000
##F1E1711.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB66
Deuteranopia (green-blind)
#F7E276
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f1e171;
/* rgb */ color: rgb(241, 225, 113);
/* oklch */ color: oklch(90.1% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#f8ea9d',
    500: '#f1e171',
    950: '#000000',
  },
}
SCSS
$custom: #f1e171;
$custom-light: #f8ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f1e171",
  "rgb": {
    "r": 241,
    "g": 225,
    "b": 113
  },
  "hsl": {
    "h": 52.5,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90052,
    "c": 0.13413,
    "h": 101.3
  },
  "luminance": 0.73743
}

Semantic roles & 50–950 ramp

primary
#F1E171
secondary
#3C4ECA
accent
#22DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F1E171

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

Preview Lab → · Contrast checker → · Palette generator →

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