#F8D582#F8D582

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

Color values

HEX#F8D582
RGBrgb(248, 213, 130)
HSLhsl(42, 89%, 74%)
HSVhsv(42, 48%, 97%)
CMYKcmyk(0%, 14.1%, 47.6%, 2.7%)
CIE-LABlab(86.58, 1.79, 45.35)
CIE-LCHlch(86.58, 45.39, 87.74°)
OKLaboklab(88.51% 0.0051 0.1093)
OKLCHoklch(88.51% 0.109 87.3)
XYZxyz(66.5372, 69.1598, 30.9592)
Luminance0.6916 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D582 #82A5F8
analogous
#F89A82 #F8D582 #E0F882
triadic
#F8D582 #82F8D5 #D582F8
tetradic
#F8D582 #82F89A #82A5F8 #F882E0
square
#F8D582 #82F89A #82A5F8 #F882E0
split-complementary
#F8D582 #82E0F8 #9A82F8
monochromatic
#F2AE0E #F5C248 #F8D582 #FBE8BC #FDF5E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8D582#FFFFFF#000000##000000
##F8D5821.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)
#E7D37B
Deuteranopia (green-blind)
#EFDD85
Tritanopia (blue-blind)
#FFC8C1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f8d582;
/* rgb */ color: rgb(248, 213, 130);
/* oklch */ color: oklch(88.5% 0.109 87.3);
Tailwind
colors: {
  custom: {
    50: '#fde1a7',
    500: '#f8d582',
    950: '#000000',
  },
}
SCSS
$custom: #f8d582;
$custom-light: #fde1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d582",
  "rgb": {
    "r": 248,
    "g": 213,
    "b": 130
  },
  "hsl": {
    "h": 42.203,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.88508,
    "c": 0.1094,
    "h": 87.3
  },
  "luminance": 0.69157
}

Semantic roles & 50–950 ramp

primary
#F8D582
secondary
#4973D5
accent
#44E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#181510
muted
#868480

Preview Lab

Preview with #F8D582

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

Preview Lab → · Contrast checker → · Palette generator →

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