#F1E271#F1E271

#F1E271 is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.3% C 0.135 H 101.8°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#F1E271
RGBrgb(241, 226, 113)
HSLhsl(53, 82%, 69%)
HSVhsv(53, 53%, 95%)
CMYKcmyk(0%, 6.2%, 53.1%, 5.5%)
CIE-LABlab(89.06, -9.06, 56.33)
CIE-LCHlch(89.06, 57.05, 99.14°)
OKLaboklab(90.26% -0.0277 0.1322)
OKLCHoklch(90.26% 0.135 101.8)
XYZxyz(66.4547, 74.2881, 26.4581)
Luminance0.7429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1E271 #7180F1
analogous
#F1A271 #F1E271 #C0F171
triadic
#F1E271 #71F1E2 #E271F1
tetradic
#F1E271 #71F1A2 #7180F1 #F171C0
square
#F1E271 #71F1A2 #7180F1 #F171C0
split-complementary
#F1E271 #71C0F1 #A271F1
monochromatic
#D3BD15 #ECD739 #F1E271 #F6EDA9 #FCF9E0

Accessibility & contrast

On white

1.32
#F1E271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.86
#F1E271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1E271
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1E271#FFFFFF#000000##000000
##F1E2711.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC66
Deuteranopia (green-blind)
#F8E376
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f1e271;
/* rgb */ color: rgb(241, 226, 113);
/* oklch */ color: oklch(90.3% 0.135 101.8);
Tailwind
colors: {
  custom: {
    50: '#f8ea9d',
    500: '#f1e271',
    950: '#000000',
  },
}
SCSS
$custom: #f1e271;
$custom-light: #f8ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f1e271",
  "rgb": {
    "r": 241,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 52.969,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90256,
    "c": 0.13505,
    "h": 101.8
  },
  "luminance": 0.74286
}

Semantic roles & 50–950 ramp

primary
#F1E271
secondary
#3C4DCA
accent
#20DE07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F1E271

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

Preview Lab → · Contrast checker → · Palette generator →

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