#F1D877#F1D877

#F1D877 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.3% C 0.121 H 95.3°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#F1D877
RGBrgb(241, 216, 119)
HSLhsl(48, 81%, 71%)
HSVhsv(48, 51%, 95%)
CMYKcmyk(0%, 10.4%, 50.6%, 5.5%)
CIE-LABlab(86.58, -3.52, 50.56)
CIE-LCHlch(86.58, 50.69, 93.99°)
OKLaboklab(88.31% -0.0111 0.1201)
OKLCHoklch(88.31% 0.121 95.3)
XYZxyz(64.1634, 69.1471, 27.4161)
Luminance0.6914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1D877 #7790F1
analogous
#F19B77 #F1D877 #CDF177
triadic
#F1D877 #77F1D8 #D877F1
tetradic
#F1D877 #77F19B #7790F1 #F177CD
square
#F1D877 #77F19B #7790F1 #F177CD
split-complementary
#F1D877 #77CDF1 #9B77F1
monochromatic
#D7B016 #EBC840 #F1D877 #F7E8AE #FCF7E3

Accessibility & contrast

On white

1.42
#F1D877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#F1D877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1D877
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1D877#FFFFFF#000000##000000
##F1D8771.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD46F
Deuteranopia (green-blind)
#F0DC7B
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f1d877;
/* rgb */ color: rgb(241, 216, 119);
/* oklch */ color: oklch(88.3% 0.121 95.3);
Tailwind
colors: {
  custom: {
    50: '#f8e3a0',
    500: '#f1d877',
    950: '#000000',
  },
}
SCSS
$custom: #f1d877;
$custom-light: #f8e3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f1d877",
  "rgb": {
    "r": 241,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 47.705,
    "s": 81.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88312,
    "c": 0.12065,
    "h": 95.3
  },
  "luminance": 0.69144
}

Semantic roles & 50–950 ramp

primary
#F1D877
secondary
#415DCB
accent
#34DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F1D877

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

Preview Lab → · Contrast checker → · Palette generator →

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