#F8D86C#F8D86C

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

Color values

HEX#F8D86C
RGBrgb(248, 216, 108)
HSLhsl(46, 91%, 70%)
HSVhsv(46, 56%, 97%)
CMYKcmyk(0%, 12.9%, 56.5%, 2.7%)
CIE-LABlab(87.07, -1.57, 56.48)
CIE-LCHlch(87.07, 56.50, 91.59°)
OKLaboklab(88.81% -0.007 0.1319)
OKLCHoklch(88.81% 0.132 93.1)
XYZxyz(65.9768, 70.1541, 24.2503)
Luminance0.7015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D86C #6C8CF8
analogous
#F8926C #F8D86C #D2F86C
triadic
#F8D86C #6CF8D8 #D86CF8
tetradic
#F8D86C #6CF892 #6C8CF8 #F86CD2
square
#F8D86C #6CF892 #6C8CF8 #F86CD2
split-complementary
#F8D86C #6CD2F8 #926CF8
monochromatic
#DFAE0B #F5C932 #F8D86C #FBE7A6 #FEF7E1

Accessibility & contrast

On white

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

On black

15.03
#F8D86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D86C
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D86C#FFFFFF#000000##000000
##F8D86C1.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8d86c;
/* rgb */ color: rgb(248, 216, 108);
/* oklch */ color: oklch(88.8% 0.132 93.1);
Tailwind
colors: {
  custom: {
    50: '#fde399',
    500: '#f8d86c',
    950: '#000000',
  },
}
SCSS
$custom: #f8d86c;
$custom-light: #fde399;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d86c",
  "rgb": {
    "r": 248,
    "g": 216,
    "b": 108
  },
  "hsl": {
    "h": 46.286,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88809,
    "c": 0.13205,
    "h": 93.1
  },
  "luminance": 0.70151
}

Semantic roles & 50–950 ramp

primary
#F8D86C
secondary
#365AD2
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D86C

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

Preview Lab → · Contrast checker → · Palette generator →

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