#F1EF8A#F1EF8A

#F1EF8A is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.2% C 0.124 H 107.6°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#F1EF8A
RGBrgb(241, 239, 138)
HSLhsl(59, 79%, 74%)
HSVhsv(59, 43%, 95%)
CMYKcmyk(0%, 0.8%, 42.7%, 5.5%)
CIE-LABlab(92.69, -13.28, 48.93)
CIE-LCHlch(92.69, 50.70, 105.19°)
OKLaboklab(93.24% -0.0373 0.1179)
OKLCHoklch(93.24% 0.124 107.6)
XYZxyz(71.7309, 82.2704, 36.1410)
Luminance0.8227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1EF8A #8A8CF1
analogous
#F1BC8A #F1EF8A #C0F18A
triadic
#F1EF8A #8AF1EF #EF8AF1
tetradic
#F1EF8A #8AF1BC #8A8CF1 #F18AC0
square
#F1EF8A #8AF1BC #8A8CF1 #F18AC0
split-complementary
#F1EF8A #8AC0F1 #BC8AF1
monochromatic
#E4E01D #EAE853 #F1EF8A #F8F6C1 #FCFBE4

Accessibility & contrast

On white

1.20
#F1EF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.45
#F1EF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1EF8A
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1EF8A#FFFFFF#000000##000000
##F1EF8A1.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE882
Deuteranopia (green-blind)
#FFEC8F
Tritanopia (blue-blind)
#FEE3D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f1ef8a;
/* rgb */ color: rgb(241, 239, 138);
/* oklch */ color: oklch(93.2% 0.124 107.6);
Tailwind
colors: {
  custom: {
    50: '#f7f4ae',
    500: '#f1ef8a',
    950: '#000000',
  },
}
SCSS
$custom: #f1ef8a;
$custom-light: #f7f4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f1ef8a",
  "rgb": {
    "r": 241,
    "g": 239,
    "b": 138
  },
  "hsl": {
    "h": 58.835,
    "s": 78.626,
    "l": 74.314
  },
  "oklch": {
    "l": 0.93238,
    "c": 0.12364,
    "h": 107.6
  },
  "luminance": 0.82269
}

Semantic roles & 50–950 ramp

primary
#F1EF8A
secondary
#5255CD
accent
#0FDB0B
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #F1EF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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