#F1F162#F1F162

#F1F162 is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.2% C 0.163 H 109.2°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#F1F162
RGBrgb(241, 241, 98)
HSLhsl(60, 84%, 66%)
HSVhsv(60, 59%, 95%)
CMYKcmyk(0%, 0%, 59.3%, 5.5%)
CIE-LABlab(92.79, -17.54, 67.11)
CIE-LCHlch(92.79, 69.36, 104.64°)
OKLaboklab(93.18% -0.0534 0.1536)
OKLCHoklch(93.18% 0.163 109.2)
XYZxyz(69.9376, 82.4951, 23.7919)
Luminance0.8249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F162 #6262F1
analogous
#F1AA62 #F1F162 #AAF162
triadic
#F1F162 #62F1F1 #F162F1
tetradic
#F1F162 #62F1AA #6262F1 #F162AA
square
#F1F162 #62F1AA #6262F1 #F162AA
split-complementary
#F1F162 #62AAF1 #AA62F1
monochromatic
#C7C712 #ECEC2A #F1F162 #F6F69A #FBFBD2

Accessibility & contrast

On white

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

On black

17.50
#F1F162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1F162
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1F162#FFFFFF#000000##000000
##F1F1621.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FFED6B
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f1f162;
/* rgb */ color: rgb(241, 241, 98);
/* oklch */ color: oklch(93.2% 0.163 109.2);
Tailwind
colors: {
  custom: {
    50: '#f9f594',
    500: '#f1f162',
    950: '#000000',
  },
}
SCSS
$custom: #f1f162;
$custom-light: #f9f594;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f162",
  "rgb": {
    "r": 241,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.93182,
    "c": 0.16257,
    "h": 109.2
  },
  "luminance": 0.82493
}

Semantic roles & 50–950 ramp

primary
#F1F162
secondary
#3333C4
accent
#05E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F1F162

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

Preview Lab → · Contrast checker → · Palette generator →

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