#F1DC8A#F1DC8A

#F1DC8A is a very light, moderate yellow. Relative luminance 0.717; OKLCH L 89.4% C 0.105 H 95.5°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#F1DC8A
RGBrgb(241, 220, 138)
HSLhsl(48, 79%, 74%)
HSVhsv(48, 43%, 95%)
CMYKcmyk(0%, 8.7%, 42.7%, 5.5%)
CIE-LABlab(87.84, -3.78, 42.83)
CIE-LCHlch(87.84, 43.00, 95.05°)
OKLaboklab(89.39% -0.01 0.1042)
OKLCHoklch(89.39% 0.105 95.5)
XYZxyz(66.4579, 71.7245, 34.3833)
Luminance0.7172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1DC8A #8A9FF1
analogous
#F1A98A #F1DC8A #D3F18A
triadic
#F1DC8A #8AF1DC #DC8AF1
tetradic
#F1DC8A #8AF1A9 #8A9FF1 #F18AD3
square
#F1DC8A #8AF1A9 #8A9FF1 #F18AD3
split-complementary
#F1DC8A #8AD3F1 #A98AF1
monochromatic
#E4BB1D #EACC53 #F1DC8A #F8ECC1 #FCF7E4

Accessibility & contrast

On white

1.37
#F1DC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#F1DC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1DC8A
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1DC8A#FFFFFF#000000##000000
##F1DC8A1.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD884
Deuteranopia (green-blind)
#F1DF8D
Tritanopia (blue-blind)
#FFD1C8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f1dc8a;
/* rgb */ color: rgb(241, 220, 138);
/* oklch */ color: oklch(89.4% 0.105 95.5);
Tailwind
colors: {
  custom: {
    50: '#f7e6ad',
    500: '#f1dc8a',
    950: '#000000',
  },
}
SCSS
$custom: #f1dc8a;
$custom-light: #f7e6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f1dc8a",
  "rgb": {
    "r": 241,
    "g": 220,
    "b": 138
  },
  "hsl": {
    "h": 47.767,
    "s": 78.626,
    "l": 74.314
  },
  "oklch": {
    "l": 0.89387,
    "c": 0.10463,
    "h": 95.5
  },
  "luminance": 0.71722
}

Semantic roles & 50–950 ramp

primary
#F1DC8A
secondary
#526BCD
accent
#35DB0B
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F1DC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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