#F1F262#F1F262

#F1F262 is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.4% C 0.164 H 109.6°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#F1F262
RGBrgb(241, 242, 98)
HSLhsl(60, 85%, 67%)
HSVhsv(60, 60%, 95%)
CMYKcmyk(0.4%, 0%, 59.5%, 5.1%)
CIE-LABlab(93.05, -18.02, 67.39)
CIE-LCHlch(93.05, 69.76, 104.97°)
OKLaboklab(93.39% -0.0548 0.1541)
OKLCHoklch(93.39% 0.164 109.6)
XYZxyz(70.2344, 83.0887, 23.8909)
Luminance0.8309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F262 #6362F2
analogous
#F2AB62 #F1F262 #A9F262
triadic
#F1F262 #62F1F2 #F262F1
tetradic
#F1F262 #62F2AB #6362F2 #F262A9
square
#F1F262 #62F2AB #6362F2 #F262A9
split-complementary
#F1F262 #62A9F2 #AB62F2
monochromatic
#C8C911 #ECED29 #F1F262 #F6F79B #FBFBD3

Accessibility & contrast

On white

1.19
#F1F262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.62
#F1F262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1F262
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1F262#FFFFFF#000000##000000
##F1F2621.001.1917.6217.62
#FFFFFF1.191.0021.0021.00
#00000017.6221.001.001.00
##00000017.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE951
Deuteranopia (green-blind)
#FFED6B
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f1f262;
/* rgb */ color: rgb(241, 242, 98);
/* oklch */ color: oklch(93.4% 0.164 109.6);
Tailwind
colors: {
  custom: {
    50: '#f9f694',
    500: '#f1f262',
    950: '#000000',
  },
}
SCSS
$custom: #f1f262;
$custom-light: #f9f694;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f262",
  "rgb": {
    "r": 241,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 60.417,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.93389,
    "c": 0.16358,
    "h": 109.6
  },
  "luminance": 0.83087
}

Semantic roles & 50–950 ramp

primary
#F1F262
secondary
#3433C6
accent
#04E106
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F1F262

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

Preview Lab → · Contrast checker → · Palette generator →

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