#F8D867#F8D867

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

Color values

HEX#F8D867
RGBrgb(248, 216, 103)
HSLhsl(47, 91%, 69%)
HSVhsv(47, 58%, 97%)
CMYKcmyk(0%, 12.9%, 58.5%, 2.7%)
CIE-LABlab(87.02, -1.93, 58.70)
CIE-LCHlch(87.02, 58.74, 91.88°)
OKLaboklab(88.75% -0.0087 0.1361)
OKLCHoklch(88.75% 0.136 93.6)
XYZxyz(65.7183, 70.0507, 22.8889)
Luminance0.7005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D867 #6787F8
analogous
#F89067 #F8D867 #CFF867
triadic
#F8D867 #67F8D8 #D867F8
tetradic
#F8D867 #67F890 #6787F8 #F867CF
square
#F8D867 #67F890 #6787F8 #F867CF
split-complementary
#F8D867 #67CFF8 #9067F8
monochromatic
#DBAD0A #F5C92C #F8D867 #FBE7A2 #FDF6DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8D867#FFFFFF#000000##000000
##F8D8671.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)
#ECD45C
Deuteranopia (green-blind)
#F4DE6C
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f8d867;
/* rgb */ color: rgb(248, 216, 103);
/* oklch */ color: oklch(88.8% 0.136 93.6);
Tailwind
colors: {
  custom: {
    50: '#fee396',
    500: '#f8d867',
    950: '#000000',
  },
}
SCSS
$custom: #f8d867;
$custom-light: #fee396;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d867",
  "rgb": {
    "r": 248,
    "g": 216,
    "b": 103
  },
  "hsl": {
    "h": 46.759,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88753,
    "c": 0.13637,
    "h": 93.6
  },
  "luminance": 0.70047
}

Semantic roles & 50–950 ramp

primary
#F8D867
secondary
#3255D2
accent
#33E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D867

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

Preview Lab → · Contrast checker → · Palette generator →

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