#F8D581#F8D581

#F8D581 is a very light, moderate orange. Relative luminance 0.691; OKLCH L 88.5% C 0.110 H 87.5°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#F8D581
RGBrgb(248, 213, 129)
HSLhsl(42, 89%, 74%)
HSVhsv(42, 48%, 97%)
CMYKcmyk(0%, 14.1%, 48%, 2.7%)
CIE-LABlab(86.57, 1.70, 45.83)
CIE-LCHlch(86.57, 45.86, 87.87°)
OKLaboklab(88.49% 0.0048 0.1103)
OKLCHoklch(88.49% 0.11 87.5)
XYZxyz(66.4704, 69.1331, 30.6074)
Luminance0.6913 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D581 #81A4F8
analogous
#F89A81 #F8D581 #E0F881
triadic
#F8D581 #81F8D5 #D581F8
tetradic
#F8D581 #81F89A #81A4F8 #F881E0
square
#F8D581 #81F89A #81A4F8 #F881E0
split-complementary
#F8D581 #81E0F8 #9A81F8
monochromatic
#F1AE0D #F5C247 #F8D581 #FBE8BB #FDF5E2

Accessibility & contrast

On white

1.42
#F8D581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#F8D581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D581
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D581#FFFFFF#000000##000000
##F8D5811.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D37A
Deuteranopia (green-blind)
#F0DD84
Tritanopia (blue-blind)
#FFC8C1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f8d581;
/* rgb */ color: rgb(248, 213, 129);
/* oklch */ color: oklch(88.5% 0.110 87.5);
Tailwind
colors: {
  custom: {
    50: '#fde1a7',
    500: '#f8d581',
    950: '#000000',
  },
}
SCSS
$custom: #f8d581;
$custom-light: #fde1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d581",
  "rgb": {
    "r": 248,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 42.353,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.88493,
    "c": 0.11039,
    "h": 87.5
  },
  "luminance": 0.6913
}

Semantic roles & 50–950 ramp

primary
#F8D581
secondary
#4872D5
accent
#43E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F8D581

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

Preview Lab → · Contrast checker → · Palette generator →

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