#F1D87F#F1D87F

#F1D87F is a very light, moderate yellow. Relative luminance 0.693; OKLCH L 88.4% C 0.113 H 94.2°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#F1D87F
RGBrgb(241, 216, 127)
HSLhsl(47, 80%, 72%)
HSVhsv(47, 47%, 95%)
CMYKcmyk(0%, 10.4%, 47.3%, 5.5%)
CIE-LABlab(86.68, -2.81, 46.81)
CIE-LCHlch(86.68, 46.89, 93.44°)
OKLaboklab(88.42% -0.0082 0.1124)
OKLCHoklch(88.42% 0.113 94.2)
XYZxyz(64.6643, 69.3474, 30.0538)
Luminance0.6935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1D87F #7F98F1
analogous
#F19F7F #F1D87F #D1F17F
triadic
#F1D87F #7FF1D8 #D87FF1
tetradic
#F1D87F #7FF19F #7F98F1 #F17FD1
square
#F1D87F #7FF19F #7F98F1 #F17FD1
split-complementary
#F1D87F #7FD1F1 #9F7FF1
monochromatic
#DDB218 #EBC748 #F1D87F #F7E9B6 #FCF7E3

Accessibility & contrast

On white

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

On black

14.87
#F1D87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1D87F
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1D87F#FFFFFF#000000##000000
##F1D87F1.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f1d87f;
/* rgb */ color: rgb(241, 216, 127);
/* oklch */ color: oklch(88.4% 0.113 94.2);
Tailwind
colors: {
  custom: {
    50: '#f8e3a6',
    500: '#f1d87f',
    950: '#000000',
  },
}
SCSS
$custom: #f1d87f;
$custom-light: #f8e3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f1d87f",
  "rgb": {
    "r": 241,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 46.842,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.88422,
    "c": 0.11272,
    "h": 94.2
  },
  "luminance": 0.69345
}

Semantic roles & 50–950 ramp

primary
#F1D87F
secondary
#4865CC
accent
#37DD09
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #F1D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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