#F1D857#F1D857

#F1D857 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 88.0% C 0.148 H 98.3°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#F1D857
RGBrgb(241, 216, 87)
HSLhsl(50, 85%, 64%)
HSVhsv(50, 64%, 95%)
CMYKcmyk(0%, 10.4%, 63.9%, 5.5%)
CIE-LABlab(86.26, -5.84, 64.66)
CIE-LCHlch(86.26, 64.92, 95.17°)
OKLaboklab(87.96% -0.0213 0.1468)
OKLCHoklch(87.96% 0.148 98.3)
XYZxyz(62.5545, 68.5035, 18.9425)
Luminance0.6850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1D857 #5770F1
analogous
#F18B57 #F1D857 #BDF157
triadic
#F1D857 #57F1D8 #D857F1
tetradic
#F1D857 #57F18B #5770F1 #F157BD
square
#F1D857 #57F18B #5770F1 #F157BD
split-complementary
#F1D857 #57BDF1 #8B57F1
monochromatic
#BEA210 #ECCB1F #F1D857 #F6E58F #FAF2C8

Accessibility & contrast

On white

1.43
#F1D857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#F1D857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1D857
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1D857#FFFFFF#000000##000000
##F1D8571.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD347
Deuteranopia (green-blind)
#F3DC5E
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f1d857;
/* rgb */ color: rgb(241, 216, 87);
/* oklch */ color: oklch(88.0% 0.148 98.3);
Tailwind
colors: {
  custom: {
    50: '#f9e38c',
    500: '#f1d857',
    950: '#000000',
  },
}
SCSS
$custom: #f1d857;
$custom-light: #f9e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#f1d857",
  "rgb": {
    "r": 241,
    "g": 216,
    "b": 87
  },
  "hsl": {
    "h": 50.26,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.87956,
    "c": 0.14836,
    "h": 98.3
  },
  "luminance": 0.68501
}

Semantic roles & 50–950 ramp

primary
#F1D857
secondary
#3047BC
accent
#28E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F1D857

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

Preview Lab → · Contrast checker → · Palette generator →

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