#F1F862#F1F862

#F1F862 is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.6% C 0.170 H 111.8°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#F1F862
RGBrgb(241, 248, 98)
HSLhsl(63, 91%, 68%)
HSVhsv(63, 60%, 97%)
CMYKcmyk(2.8%, 0%, 60.5%, 2.7%)
CIE-LABlab(94.62, -20.91, 69.08)
CIE-LCHlch(94.62, 72.18, 106.84°)
OKLaboklab(94.64% -0.0629 0.1577)
OKLCHoklch(94.64% 0.17 111.8)
XYZxyz(72.0496, 86.7190, 24.4959)
Luminance0.8672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F862 #6962F8
analogous
#F8B462 #F1F862 #A6F862
triadic
#F1F862 #62F1F8 #F862F1
tetradic
#F1F862 #62F8B4 #6962F8 #F862A6
square
#F1F862 #62F8B4 #6962F8 #F862A6
split-complementary
#F1F862 #62A6F8 #B462F8
monochromatic
#CDD60A #ECF527 #F1F862 #F6FB9D #FBFDD7

Accessibility & contrast

On white

1.14
#F1F862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.34
#F1F862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1F862
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1F862#FFFFFF#000000##000000
##F1F8621.001.1418.3418.34
#FFFFFF1.141.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED50
Deuteranopia (green-blind)
#FFF16B
Tritanopia (blue-blind)
#FFEAD8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f1f862;
/* rgb */ color: rgb(241, 248, 98);
/* oklch */ color: oklch(94.6% 0.170 111.8);
Tailwind
colors: {
  custom: {
    50: '#f9fa95',
    500: '#f1f862',
    950: '#000000',
  },
}
SCSS
$custom: #f1f862;
$custom-light: #f9fa95;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f862",
  "rgb": {
    "r": 241,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 62.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.9464,
    "c": 0.16981,
    "h": 111.8
  },
  "luminance": 0.86717
}

Semantic roles & 50–950 ramp

primary
#F1F862
secondary
#352ED0
accent
#00E60B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F1F862

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

Preview Lab → · Contrast checker → · Palette generator →

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