#F1E162#F1E162

#F1E162 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.9% C 0.147 H 102.2°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#F1E162
RGBrgb(241, 225, 98)
HSLhsl(53, 84%, 66%)
HSVhsv(53, 59%, 95%)
CMYKcmyk(0%, 6.6%, 59.3%, 5.5%)
CIE-LABlab(88.66, -9.66, 62.58)
CIE-LCHlch(88.66, 63.32, 98.78°)
OKLaboklab(89.89% -0.031 0.1439)
OKLCHoklch(89.89% 0.147 102.2)
XYZxyz(65.4078, 73.4355, 22.2820)
Luminance0.7343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1E162 #6272F1
analogous
#F19A62 #F1E162 #BAF162
triadic
#F1E162 #62F1E1 #E162F1
tetradic
#F1E162 #62F19A #6272F1 #F162BA
square
#F1E162 #62F19A #6272F1 #F162BA
split-complementary
#F1E162 #62BAF1 #9A62F1
monochromatic
#C7B312 #ECD62A #F1E162 #F6EC9A #FBF6D2

Accessibility & contrast

On white

1.34
#F1E162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.69
#F1E162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1E162
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1E162#FFFFFF#000000##000000
##F1E1621.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB54
Deuteranopia (green-blind)
#F9E269
Tritanopia (blue-blind)
#FFD3C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f1e162;
/* rgb */ color: rgb(241, 225, 98);
/* oklch */ color: oklch(89.9% 0.147 102.2);
Tailwind
colors: {
  custom: {
    50: '#f9ea93',
    500: '#f1e162',
    950: '#000000',
  },
}
SCSS
$custom: #f1e162;
$custom-light: #f9ea93;
$custom-dark: #000000;
JSON
{
  "hex": "#f1e162",
  "rgb": {
    "r": 241,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 53.287,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.89888,
    "c": 0.14723,
    "h": 102.2
  },
  "luminance": 0.73433
}

Semantic roles & 50–950 ramp

primary
#F1E162
secondary
#3343C4
accent
#1EE005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F1E162

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

Preview Lab → · Contrast checker → · Palette generator →

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