#F1E371#F1E371

#F1E371 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.5% C 0.136 H 102.4°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#F1E371
RGBrgb(241, 227, 113)
HSLhsl(53, 82%, 69%)
HSVhsv(53, 53%, 95%)
CMYKcmyk(0%, 5.8%, 53.1%, 5.5%)
CIE-LABlab(89.31, -9.56, 56.63)
CIE-LCHlch(89.31, 57.43, 99.58°)
OKLaboklab(90.46% -0.0291 0.1328)
OKLCHoklch(90.46% 0.136 102.4)
XYZxyz(66.7274, 74.8335, 26.5490)
Luminance0.7483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1E371 #717FF1
analogous
#F1A371 #F1E371 #BFF171
triadic
#F1E371 #71F1E3 #E371F1
tetradic
#F1E371 #71F1A3 #717FF1 #F171BF
square
#F1E371 #71F1A3 #717FF1 #F171BF
split-complementary
#F1E371 #71BFF1 #A371F1
monochromatic
#D3BE15 #ECD839 #F1E371 #F6EEA9 #FCF9E0

Accessibility & contrast

On white

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

On black

15.97
#F1E371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1E371
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1E371#FFFFFF#000000##000000
##F1E3711.001.3215.9715.97
#FFFFFF1.321.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD66
Deuteranopia (green-blind)
#F9E376
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f1e371;
/* rgb */ color: rgb(241, 227, 113);
/* oklch */ color: oklch(90.5% 0.136 102.4);
Tailwind
colors: {
  custom: {
    50: '#f8eb9d',
    500: '#f1e371',
    950: '#000000',
  },
}
SCSS
$custom: #f1e371;
$custom-light: #f8eb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f1e371",
  "rgb": {
    "r": 241,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 53.438,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90459,
    "c": 0.13598,
    "h": 102.4
  },
  "luminance": 0.74831
}

Semantic roles & 50–950 ramp

primary
#F1E371
secondary
#3C4CCA
accent
#1FDE07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F1E371

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

Preview Lab → · Contrast checker → · Palette generator →

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