#F1F581#F1F581

#F1F581 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.4% C 0.139 H 110.5°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#F1F581
RGBrgb(241, 245, 129)
HSLhsl(62, 85%, 73%)
HSVhsv(62, 47%, 96%)
CMYKcmyk(1.6%, 0%, 47.3%, 3.9%)
CIE-LABlab(94.14, -17.06, 54.95)
CIE-LCHlch(94.14, 57.54, 107.25°)
OKLaboklab(94.35% -0.0489 0.1306)
OKLCHoklch(94.35% 0.139 110.5)
XYZxyz(72.8919, 85.5921, 33.4457)
Luminance0.8559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F581 #8581F5
analogous
#F5BF81 #F1F581 #B7F581
triadic
#F1F581 #81F1F5 #F581F1
tetradic
#F1F581 #81F5BF #8581F5 #F581B7
square
#F1F581 #81F5BF #8581F5 #F581B7
split-complementary
#F1F581 #81B7F5 #BF81F5
monochromatic
#E2E913 #EBF048 #F1F581 #F7F9BA #FCFDE3

Accessibility & contrast

On white

1.16
#F1F581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#F1F581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1F581
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1F581#FFFFFF#000000##000000
##F1F5811.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC77
Deuteranopia (green-blind)
#FFF087
Tritanopia (blue-blind)
#FEE9DA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f1f581;
/* rgb */ color: rgb(241, 245, 129);
/* oklch */ color: oklch(94.4% 0.139 110.5);
Tailwind
colors: {
  custom: {
    50: '#f8f8a8',
    500: '#f1f581',
    950: '#000000',
  },
}
SCSS
$custom: #f1f581;
$custom-light: #f8f8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f581",
  "rgb": {
    "r": 241,
    "g": 245,
    "b": 129
  },
  "hsl": {
    "h": 62.069,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94352,
    "c": 0.13945,
    "h": 110.5
  },
  "luminance": 0.85591
}

Semantic roles & 50–950 ramp

primary
#F1F581
secondary
#4E49D1
accent
#04E20B
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #F1F581

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

Preview Lab → · Contrast checker → · Palette generator →

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