#F8D561#F8D561

#F8D561 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 88.1% C 0.139 H 92.5°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#F8D561
RGBrgb(248, 213, 97)
HSLhsl(46, 92%, 68%)
HSVhsv(46, 61%, 97%)
CMYKcmyk(0%, 14.1%, 60.9%, 2.7%)
CIE-LABlab(86.21, -0.81, 60.48)
CIE-LCHlch(86.21, 60.49, 90.76°)
OKLaboklab(88.1% -0.0061 0.1391)
OKLCHoklch(88.1% 0.139 92.5)
XYZxyz(64.6663, 68.4114, 21.1055)
Luminance0.6841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D561 #6184F8
analogous
#F88A61 #F8D561 #CFF861
triadic
#F8D561 #61F8D5 #D561F8
tetradic
#F8D561 #61F88A #6184F8 #F861CF
square
#F8D561 #61F88A #6184F8 #F861CF
split-complementary
#F8D561 #61CFF8 #8A61F8
monochromatic
#D5A609 #F5C526 #F8D561 #FBE59C #FDF4D6

Accessibility & contrast

On white

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

On black

14.68
#F8D561 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D561
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D561#FFFFFF#000000##000000
##F8D5611.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD255
Deuteranopia (green-blind)
#F2DC66
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f8d561;
/* rgb */ color: rgb(248, 213, 97);
/* oklch */ color: oklch(88.1% 0.139 92.5);
Tailwind
colors: {
  custom: {
    50: '#fee192',
    500: '#f8d561',
    950: '#000000',
  },
}
SCSS
$custom: #f8d561;
$custom-light: #fee192;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d561",
  "rgb": {
    "r": 248,
    "g": 213,
    "b": 97
  },
  "hsl": {
    "h": 46.093,
    "s": 91.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88095,
    "c": 0.13927,
    "h": 92.5
  },
  "luminance": 0.68408
}

Semantic roles & 50–950 ramp

primary
#F8D561
secondary
#2D53D0
accent
#35E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D561

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

Preview Lab → · Contrast checker → · Palette generator →

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