#F8D866#F8D866

#F8D866 is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.7% C 0.137 H 93.8°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#F8D866
RGBrgb(248, 216, 102)
HSLhsl(47, 91%, 69%)
HSVhsv(47, 59%, 97%)
CMYKcmyk(0%, 12.9%, 58.9%, 2.7%)
CIE-LABlab(87.01, -2.00, 59.14)
CIE-LCHlch(87.01, 59.18, 91.93°)
OKLaboklab(88.74% -0.009 0.1369)
OKLCHoklch(88.74% 0.137 93.8)
XYZxyz(65.6684, 70.0307, 22.6261)
Luminance0.7003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D866 #6686F8
analogous
#F88F66 #F8D866 #CFF866
triadic
#F8D866 #66F8D8 #D866F8
tetradic
#F8D866 #66F88F #6686F8 #F866CF
square
#F8D866 #66F88F #6686F8 #F866CF
split-complementary
#F8D866 #66CFF8 #8F66F8
monochromatic
#DAAC0A #F5C92B #F8D866 #FBE7A1 #FDF6DB

Accessibility & contrast

On white

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

On black

15.01
#F8D866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D866
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D866#FFFFFF#000000##000000
##F8D8661.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD45A
Deuteranopia (green-blind)
#F4DE6B
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f8d866;
/* rgb */ color: rgb(248, 216, 102);
/* oklch */ color: oklch(88.7% 0.137 93.8);
Tailwind
colors: {
  custom: {
    50: '#fee395',
    500: '#f8d866',
    950: '#000000',
  },
}
SCSS
$custom: #f8d866;
$custom-light: #fee395;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d866",
  "rgb": {
    "r": 248,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 46.849,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88742,
    "c": 0.1372,
    "h": 93.8
  },
  "luminance": 0.70028
}

Semantic roles & 50–950 ramp

primary
#F8D866
secondary
#3154D2
accent
#32E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D866

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

Preview Lab → · Contrast checker → · Palette generator →

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