#F1E962#F1E962

#F1E962 is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.5% C 0.155 H 105.9°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#F1E962
RGBrgb(241, 233, 98)
HSLhsl(57, 84%, 66%)
HSVhsv(57, 59%, 95%)
CMYKcmyk(0%, 3.3%, 59.3%, 5.5%)
CIE-LABlab(90.72, -13.63, 64.85)
CIE-LCHlch(90.72, 66.27, 101.87°)
OKLaboklab(91.53% -0.0423 0.1488)
OKLCHoklch(91.53% 0.155 105.9)
XYZxyz(67.6214, 77.8627, 23.0199)
Luminance0.7786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1E962 #626AF1
analogous
#F1A262 #F1E962 #B2F162
triadic
#F1E962 #62F1E9 #E962F1
tetradic
#F1E962 #62F1A2 #626AF1 #F162B2
square
#F1E962 #62F1A2 #626AF1 #F162B2
split-complementary
#F1E962 #62B2F1 #A262F1
monochromatic
#C7BD12 #ECE12A #F1E962 #F6F19A #FBF9D2

Accessibility & contrast

On white

1.27
#F1E962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.57
#F1E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1E962
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1E962#FFFFFF#000000##000000
##F1E9621.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE153
Deuteranopia (green-blind)
#FFE76A
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f1e962;
/* rgb */ color: rgb(241, 233, 98);
/* oklch */ color: oklch(91.5% 0.155 105.9);
Tailwind
colors: {
  custom: {
    50: '#f9ef94',
    500: '#f1e962',
    950: '#000000',
  },
}
SCSS
$custom: #f1e962;
$custom-light: #f9ef94;
$custom-dark: #000000;
JSON
{
  "hex": "#f1e962",
  "rgb": {
    "r": 241,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 56.643,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91527,
    "c": 0.15466,
    "h": 105.9
  },
  "luminance": 0.7786
}

Semantic roles & 50–950 ramp

primary
#F1E962
secondary
#333BC4
accent
#12E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160D
muted
#86857F

Preview Lab

Preview with #F1E962

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

Preview Lab → · Contrast checker → · Palette generator →

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