#F1DF8A#F1DF8A

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

Color values

HEX#F1DF8A
RGBrgb(241, 223, 138)
HSLhsl(50, 79%, 74%)
HSVhsv(50, 43%, 95%)
CMYKcmyk(0%, 7.5%, 42.7%, 5.5%)
CIE-LABlab(88.60, -5.30, 43.80)
CIE-LCHlch(88.60, 44.12, 96.90°)
OKLaboklab(89.99% -0.0144 0.1063)
OKLCHoklch(89.99% 0.107 97.7)
XYZxyz(67.2524, 73.3134, 34.6481)
Luminance0.7331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1DF8A #8A9CF1
analogous
#F1AC8A #F1DF8A #CFF18A
triadic
#F1DF8A #8AF1DF #DF8AF1
tetradic
#F1DF8A #8AF1AC #8A9CF1 #F18ACF
square
#F1DF8A #8AF1AC #8A9CF1 #F18ACF
split-complementary
#F1DF8A #8ACFF1 #AC8AF1
monochromatic
#E4C11D #EAD053 #F1DF8A #F8EEC1 #FCF8E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F1DF8A#FFFFFF#000000##000000
##F1DF8A1.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)
#EEDB83
Deuteranopia (green-blind)
#F3E18D
Tritanopia (blue-blind)
#FFD4CA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f1df8a;
/* rgb */ color: rgb(241, 223, 138);
/* oklch */ color: oklch(90.0% 0.107 97.7);
Tailwind
colors: {
  custom: {
    50: '#f7e8ad',
    500: '#f1df8a',
    950: '#000000',
  },
}
SCSS
$custom: #f1df8a;
$custom-light: #f7e8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f1df8a",
  "rgb": {
    "r": 241,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 49.515,
    "s": 78.626,
    "l": 74.314
  },
  "oklch": {
    "l": 0.89988,
    "c": 0.1073,
    "h": 97.7
  },
  "luminance": 0.73311
}

Semantic roles & 50–950 ramp

primary
#F1DF8A
secondary
#5268CD
accent
#2FDB0B
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F1DF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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