#F1EF98#F1EF98

#F1EF98 is a very light, moderate yellow. Relative luminance 0.827; OKLCH L 93.5% C 0.109 H 107.2°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#F1EF98
RGBrgb(241, 239, 152)
HSLhsl(59, 76%, 77%)
HSVhsv(59, 37%, 95%)
CMYKcmyk(0%, 0.8%, 36.9%, 5.5%)
CIE-LABlab(92.88, -11.83, 42.34)
CIE-LCHlch(92.88, 43.96, 105.61°)
OKLaboklab(93.45% -0.0321 0.1037)
OKLCHoklch(93.45% 0.109 107.2)
XYZxyz(72.8106, 82.7023, 41.8273)
Luminance0.8270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1EF98 #989AF1
analogous
#F1C398 #F1EF98 #C6F198
triadic
#F1EF98 #98F1EF #EF98F1
tetradic
#F1EF98 #98F1C3 #989AF1 #F198C6
square
#F1EF98 #98F1C3 #989AF1 #F198C6
split-complementary
#F1EF98 #98C6F1 #C398F1
monochromatic
#E2DE2C #EAE762 #F1EF98 #F8F7CE #FBFBE4

Accessibility & contrast

On white

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

On black

17.54
#F1EF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1EF98
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1EF98#FFFFFF#000000##000000
##F1EF981.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE892
Deuteranopia (green-blind)
#FEEC9C
Tritanopia (blue-blind)
#FDE5D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f1ef98;
/* rgb */ color: rgb(241, 239, 152);
/* oklch */ color: oklch(93.5% 0.109 107.2);
Tailwind
colors: {
  custom: {
    50: '#f7f4b7',
    500: '#f1ef98',
    950: '#000000',
  },
}
SCSS
$custom: #f1ef98;
$custom-light: #f7f4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f1ef98",
  "rgb": {
    "r": 241,
    "g": 239,
    "b": 152
  },
  "hsl": {
    "h": 58.652,
    "s": 76.068,
    "l": 77.059
  },
  "oklch": {
    "l": 0.93451,
    "c": 0.10855,
    "h": 107.2
  },
  "luminance": 0.82701
}

Semantic roles & 50–950 ramp

primary
#F1EF98
secondary
#5F62CE
accent
#12D80D
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F1EF98

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

Preview Lab → · Contrast checker → · Palette generator →

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