#F1DF89#F1DF89

#F1DF89 is a very light, moderate yellow. Relative luminance 0.733; OKLCH L 90.0% C 0.108 H 97.8°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#F1DF89
RGBrgb(241, 223, 137)
HSLhsl(50, 79%, 74%)
HSVhsv(50, 43%, 95%)
CMYKcmyk(0%, 7.5%, 43.2%, 5.5%)
CIE-LABlab(88.58, -5.40, 44.27)
CIE-LCHlch(88.58, 44.60, 96.96°)
OKLaboklab(89.97% -0.0147 0.1074)
OKLCHoklch(89.97% 0.108 97.8)
XYZxyz(67.1803, 73.2845, 34.2686)
Luminance0.7328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1DF89 #899BF1
analogous
#F1AB89 #F1DF89 #CFF189
triadic
#F1DF89 #89F1DF #DF89F1
tetradic
#F1DF89 #89F1AB #899BF1 #F189CF
square
#F1DF89 #89F1AB #899BF1 #F189CF
split-complementary
#F1DF89 #89CFF1 #AB89F1
monochromatic
#E4C11C #EBD052 #F1DF89 #F7EEC0 #FCF8E4

Accessibility & contrast

On white

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

On black

15.66
#F1DF89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1DF89
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1DF89#FFFFFF#000000##000000
##F1DF891.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDB82
Deuteranopia (green-blind)
#F4E18C
Tritanopia (blue-blind)
#FFD3CA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f1df89;
/* rgb */ color: rgb(241, 223, 137);
/* oklch */ color: oklch(90.0% 0.108 97.8);
Tailwind
colors: {
  custom: {
    50: '#f7e8ac',
    500: '#f1df89',
    950: '#000000',
  },
}
SCSS
$custom: #f1df89;
$custom-light: #f7e8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f1df89",
  "rgb": {
    "r": 241,
    "g": 223,
    "b": 137
  },
  "hsl": {
    "h": 49.615,
    "s": 78.788,
    "l": 74.118
  },
  "oklch": {
    "l": 0.89973,
    "c": 0.10837,
    "h": 97.8
  },
  "luminance": 0.73282
}

Semantic roles & 50–950 ramp

primary
#F1DF89
secondary
#5167CD
accent
#2FDB0A
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F1DF89

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

Preview Lab → · Contrast checker → · Palette generator →

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