#F8D863#F8D863

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

Color values

HEX#F8D863
RGBrgb(248, 216, 99)
HSLhsl(47, 91%, 68%)
HSVhsv(47, 60%, 97%)
CMYKcmyk(0%, 12.9%, 60.1%, 2.7%)
CIE-LABlab(86.98, -2.20, 60.45)
CIE-LCHlch(86.98, 60.49, 92.08°)
OKLaboklab(88.71% -0.0099 0.1393)
OKLCHoklch(88.71% 0.14 94.1)
XYZxyz(65.5223, 69.9723, 21.8567)
Luminance0.6997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D863 #6383F8
analogous
#F88D63 #F8D863 #CDF863
triadic
#F8D863 #63F8D8 #D863F8
tetradic
#F8D863 #63F88D #6383F8 #F863CD
square
#F8D863 #63F88D #6383F8 #F863CD
split-complementary
#F8D863 #63CDF8 #8D63F8
monochromatic
#D7AB0A #F5C928 #F8D863 #FBE79E #FDF5D8

Accessibility & contrast

On white

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

On black

14.99
#F8D863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D863
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D863#FFFFFF#000000##000000
##F8D8631.001.4014.9914.99
#FFFFFF1.401.0021.0021.00
#00000014.9921.001.001.00
##00000014.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD457
Deuteranopia (green-blind)
#F4DE68
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f8d863;
/* rgb */ color: rgb(248, 216, 99);
/* oklch */ color: oklch(88.7% 0.140 94.1);
Tailwind
colors: {
  custom: {
    50: '#fee393',
    500: '#f8d863',
    950: '#000000',
  },
}
SCSS
$custom: #f8d863;
$custom-light: #fee393;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d863",
  "rgb": {
    "r": 248,
    "g": 216,
    "b": 99
  },
  "hsl": {
    "h": 47.114,
    "s": 91.411,
    "l": 68.039
  },
  "oklch": {
    "l": 0.8871,
    "c": 0.13969,
    "h": 94.1
  },
  "luminance": 0.69969
}

Semantic roles & 50–950 ramp

primary
#F8D863
secondary
#2E51D1
accent
#31E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D863

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

Preview Lab → · Contrast checker → · Palette generator →

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