#F8D86F#F8D86F

#F8D86F is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.8% C 0.129 H 92.7°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#F8D86F
RGBrgb(248, 216, 111)
HSLhsl(46, 91%, 70%)
HSVhsv(46, 55%, 97%)
CMYKcmyk(0%, 12.9%, 55.2%, 2.7%)
CIE-LABlab(87.10, -1.34, 55.13)
CIE-LCHlch(87.10, 55.14, 91.39°)
OKLaboklab(88.85% -0.006 0.1292)
OKLCHoklch(88.85% 0.129 92.7)
XYZxyz(66.1392, 70.2191, 25.1057)
Luminance0.7022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D86F #6F8FF8
analogous
#F8936F #F8D86F #D4F86F
triadic
#F8D86F #6FF8D8 #D86FF8
tetradic
#F8D86F #6FF893 #6F8FF8 #F86FD4
square
#F8D86F #6FF893 #6F8FF8 #F86FD4
split-complementary
#F8D86F #6FD4F8 #936FF8
monochromatic
#E2AF0B #F5C835 #F8D86F #FBE8A9 #FEF7E2

Accessibility & contrast

On white

1.40
#F8D86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#F8D86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D86F
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D86F#FFFFFF#000000##000000
##F8D86F1.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD565
Deuteranopia (green-blind)
#F3DE73
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f8d86f;
/* rgb */ color: rgb(248, 216, 111);
/* oklch */ color: oklch(88.8% 0.129 92.7);
Tailwind
colors: {
  custom: {
    50: '#fde39b',
    500: '#f8d86f',
    950: '#000000',
  },
}
SCSS
$custom: #f8d86f;
$custom-light: #fde39b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d86f",
  "rgb": {
    "r": 248,
    "g": 216,
    "b": 111
  },
  "hsl": {
    "h": 45.985,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88845,
    "c": 0.12938,
    "h": 92.7
  },
  "luminance": 0.70216
}

Semantic roles & 50–950 ramp

primary
#F8D86F
secondary
#385DD3
accent
#36E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D86F

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

Preview Lab → · Contrast checker → · Palette generator →

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