#F8D559#F8D559

#F8D559 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 88.0% C 0.146 H 93.4°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#F8D559
RGBrgb(248, 213, 89)
HSLhsl(47, 92%, 66%)
HSVhsv(47, 64%, 97%)
CMYKcmyk(0%, 14.1%, 64.1%, 2.7%)
CIE-LABlab(86.14, -1.31, 63.88)
CIE-LCHlch(86.14, 63.89, 91.17°)
OKLaboklab(88.02% -0.0085 0.1453)
OKLCHoklch(88.02% 0.146 93.4)
XYZxyz(64.3119, 68.2696, 19.2391)
Luminance0.6827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D559 #597CF8
analogous
#F88559 #F8D559 #CCF859
triadic
#F8D559 #59F8D5 #D559F8
tetradic
#F8D559 #59F885 #597CF8 #F859CC
square
#F8D559 #59F885 #597CF8 #F859CC
split-complementary
#F8D559 #59CCF8 #8559F8
monochromatic
#CEA209 #F6C61E #F8D559 #FAE494 #FDF3CE

Accessibility & contrast

On white

1.43
#F8D559 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#F8D559 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D559
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D559#FFFFFF#000000##000000
##F8D5591.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD14B
Deuteranopia (green-blind)
#F3DC5F
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f8d559;
/* rgb */ color: rgb(248, 213, 89);
/* oklch */ color: oklch(88.0% 0.146 93.4);
Tailwind
colors: {
  custom: {
    50: '#fee18d',
    500: '#f8d559',
    950: '#000000',
  },
}
SCSS
$custom: #f8d559;
$custom-light: #fee18d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d559",
  "rgb": {
    "r": 248,
    "g": 213,
    "b": 89
  },
  "hsl": {
    "h": 46.792,
    "s": 91.908,
    "l": 66.078
  },
  "oklch": {
    "l": 0.88016,
    "c": 0.14551,
    "h": 93.4
  },
  "luminance": 0.68266
}

Semantic roles & 50–950 ramp

primary
#F8D559
secondary
#2C4EC9
accent
#33E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D559

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

Preview Lab → · Contrast checker → · Palette generator →

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