#F1F157#F1F157

#F1F157 is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.1% C 0.171 H 109.3°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#F1F157
RGBrgb(241, 241, 87)
HSLhsl(60, 85%, 64%)
HSVhsv(60, 64%, 95%)
CMYKcmyk(0%, 0%, 63.9%, 5.5%)
CIE-LABlab(92.71, -18.21, 71.43)
CIE-LCHlch(92.71, 73.72, 104.30°)
OKLaboklab(93.09% -0.0564 0.1611)
OKLCHoklch(93.09% 0.171 109.3)
XYZxyz(69.4535, 82.3015, 21.2422)
Luminance0.8230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F157 #5757F1
analogous
#F1A457 #F1F157 #A4F157
triadic
#F1F157 #57F1F1 #F157F1
tetradic
#F1F157 #57F1A4 #5757F1 #F157A4
square
#F1F157 #57F1A4 #5757F1 #F157A4
split-complementary
#F1F157 #57A4F1 #A457F1
monochromatic
#BEBE10 #ECEC1F #F1F157 #F6F68F #FAFAC8

Accessibility & contrast

On white

1.20
#F1F157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#F1F157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1F157
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1F157#FFFFFF#000000##000000
##F1F1571.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE742
Deuteranopia (green-blind)
#FFEC61
Tritanopia (blue-blind)
#FFE2D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f1f157;
/* rgb */ color: rgb(241, 241, 87);
/* oklch */ color: oklch(93.1% 0.171 109.3);
Tailwind
colors: {
  custom: {
    50: '#f9f58e',
    500: '#f1f157',
    950: '#000000',
  },
}
SCSS
$custom: #f1f157;
$custom-light: #f9f58e;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f157",
  "rgb": {
    "r": 241,
    "g": 241,
    "b": 87
  },
  "hsl": {
    "h": 60,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.93086,
    "c": 0.17074,
    "h": 109.3
  },
  "luminance": 0.82299
}

Semantic roles & 50–950 ramp

primary
#F1F157
secondary
#3030BC
accent
#04E104
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F1F157

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

Preview Lab → · Contrast checker → · Palette generator →

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