#F1E862#F1E862

#F1E862 is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.3% C 0.154 H 105.4°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#F1E862
RGBrgb(241, 232, 98)
HSLhsl(56, 84%, 66%)
HSVhsv(56, 59%, 95%)
CMYKcmyk(0%, 3.7%, 59.3%, 5.5%)
CIE-LABlab(90.46, -13.14, 64.57)
CIE-LCHlch(90.46, 65.89, 101.50°)
OKLaboklab(91.32% -0.0409 0.1481)
OKLCHoklch(91.32% 0.154 105.4)
XYZxyz(67.3391, 77.2981, 22.9258)
Luminance0.7730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1E862 #626BF1
analogous
#F1A162 #F1E862 #B3F162
triadic
#F1E862 #62F1E8 #E862F1
tetradic
#F1E862 #62F1A1 #626BF1 #F162B3
square
#F1E862 #62F1A1 #626BF1 #F162B3
split-complementary
#F1E862 #62B3F1 #A162F1
monochromatic
#C7BB12 #ECE02A #F1E862 #F6F09A #FBF8D2

Accessibility & contrast

On white

1.28
#F1E862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.46
#F1E862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1E862
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1E862#FFFFFF#000000##000000
##F1E8621.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE053
Deuteranopia (green-blind)
#FEE669
Tritanopia (blue-blind)
#FFDACB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f1e862;
/* rgb */ color: rgb(241, 232, 98);
/* oklch */ color: oklch(91.3% 0.154 105.4);
Tailwind
colors: {
  custom: {
    50: '#f9ef94',
    500: '#f1e862',
    950: '#000000',
  },
}
SCSS
$custom: #f1e862;
$custom-light: #f9ef94;
$custom-dark: #000000;
JSON
{
  "hex": "#f1e862",
  "rgb": {
    "r": 241,
    "g": 232,
    "b": 98
  },
  "hsl": {
    "h": 56.224,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91322,
    "c": 0.15369,
    "h": 105.4
  },
  "luminance": 0.77296
}

Semantic roles & 50–950 ramp

primary
#F1E862
secondary
#333CC4
accent
#13E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160D
muted
#86857F

Preview Lab

Preview with #F1E862

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

Preview Lab → · Contrast checker → · Palette generator →

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