#F1DF71#F1DF71

#F1DF71 is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.6% C 0.132 H 100.2°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#F1DF71
RGBrgb(241, 223, 113)
HSLhsl(52, 82%, 69%)
HSVhsv(52, 53%, 95%)
CMYKcmyk(0%, 7.5%, 53.1%, 5.5%)
CIE-LABlab(88.29, -7.56, 55.43)
CIE-LCHlch(88.29, 55.95, 97.76°)
OKLaboklab(89.65% -0.0233 0.1302)
OKLCHoklch(89.65% 0.132 100.2)
XYZxyz(65.6461, 72.6709, 26.1885)
Luminance0.7267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1DF71 #7183F1
analogous
#F19F71 #F1DF71 #C3F171
triadic
#F1DF71 #71F1DF #DF71F1
tetradic
#F1DF71 #71F19F #7183F1 #F171C3
square
#F1DF71 #71F19F #7183F1 #F171C3
split-complementary
#F1DF71 #71C3F1 #9F71F1
monochromatic
#D3B815 #ECD239 #F1DF71 #F6ECA9 #FCF8E0

Accessibility & contrast

On white

1.35
#F1DF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#F1DF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1DF71
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1DF71#FFFFFF#000000##000000
##F1DF711.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D967
Deuteranopia (green-blind)
#F6E176
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f1df71;
/* rgb */ color: rgb(241, 223, 113);
/* oklch */ color: oklch(89.6% 0.132 100.2);
Tailwind
colors: {
  custom: {
    50: '#f8e89d',
    500: '#f1df71',
    950: '#000000',
  },
}
SCSS
$custom: #f1df71;
$custom-light: #f8e89d;
$custom-dark: #000000;
JSON
{
  "hex": "#f1df71",
  "rgb": {
    "r": 241,
    "g": 223,
    "b": 113
  },
  "hsl": {
    "h": 51.563,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.89646,
    "c": 0.13231,
    "h": 100.2
  },
  "luminance": 0.72668
}

Semantic roles & 50–950 ramp

primary
#F1DF71
secondary
#3C50CA
accent
#25DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F1DF71

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

Preview Lab → · Contrast checker → · Palette generator →

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