#F1D97A#F1D97A

#F1D97A is a very light, moderate yellow. Relative luminance 0.697; OKLCH L 88.6% C 0.119 H 95.5°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#F1D97A
RGBrgb(241, 217, 122)
HSLhsl(48, 81%, 71%)
HSVhsv(48, 49%, 95%)
CMYKcmyk(0%, 10%, 49.4%, 5.5%)
CIE-LABlab(86.87, -3.77, 49.47)
CIE-LCHlch(86.87, 49.61, 94.36°)
OKLaboklab(88.55% -0.0115 0.118)
OKLCHoklch(88.55% 0.119 95.5)
XYZxyz(64.6034, 69.7342, 28.4657)
Luminance0.6973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1D97A #7A92F1
analogous
#F19D7A #F1D97A #CDF17A
triadic
#F1D97A #7AF1D9 #D97AF1
tetradic
#F1D97A #7AF19D #7A92F1 #F17ACD
square
#F1D97A #7AF19D #7A92F1 #F17ACD
split-complementary
#F1D97A #7ACDF1 #9D7AF1
monochromatic
#DAB217 #EBC943 #F1D97A #F7E9B1 #FCF7E3

Accessibility & contrast

On white

1.41
#F1D97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.95
#F1D97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1D97A
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1D97A#FFFFFF#000000##000000
##F1D97A1.001.4114.9514.95
#FFFFFF1.411.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD572
Deuteranopia (green-blind)
#F1DD7E
Tritanopia (blue-blind)
#FFCCC3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f1d97a;
/* rgb */ color: rgb(241, 217, 122);
/* oklch */ color: oklch(88.6% 0.119 95.5);
Tailwind
colors: {
  custom: {
    50: '#f8e4a2',
    500: '#f1d97a',
    950: '#000000',
  },
}
SCSS
$custom: #f1d97a;
$custom-light: #f8e4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f1d97a",
  "rgb": {
    "r": 241,
    "g": 217,
    "b": 122
  },
  "hsl": {
    "h": 47.899,
    "s": 80.952,
    "l": 71.176
  },
  "oklch": {
    "l": 0.88552,
    "c": 0.11853,
    "h": 95.5
  },
  "luminance": 0.69732
}

Semantic roles & 50–950 ramp

primary
#F1D97A
secondary
#445FCB
accent
#33DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F1D97A

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

Preview Lab → · Contrast checker → · Palette generator →

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