#F8D591#F8D591

#F8D591 is a very light, moderate orange. Relative luminance 0.696; OKLCH L 88.7% C 0.094 H 83.4°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#F8D591
RGBrgb(248, 213, 145)
HSLhsl(40, 88%, 77%)
HSVhsv(40, 42%, 97%)
CMYKcmyk(0%, 14.1%, 41.5%, 2.7%)
CIE-LABlab(86.80, 3.27, 38.11)
CIE-LCHlch(86.80, 38.25, 85.10°)
OKLaboklab(88.74% 0.0108 0.0936)
OKLCHoklch(88.74% 0.094 83.4)
XYZxyz(67.6184, 69.5922, 36.6535)
Luminance0.6959 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D591 #91B4F8
analogous
#F8A291 #F8D591 #E7F891
triadic
#F8D591 #91F8D5 #D591F8
tetradic
#F8D591 #91F8A2 #91B4F8 #F891E7
square
#F8D591 #91F8A2 #91B4F8 #F891E7
split-complementary
#F8D591 #91E7F8 #A291F8
monochromatic
#F1A91E #F4BF57 #F8D591 #FCEBCB #FDF4E2

Accessibility & contrast

On white

1.41
#F8D591 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#F8D591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D591
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D591#FFFFFF#000000##000000
##F8D5911.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D48C
Deuteranopia (green-blind)
#EEDD93
Tritanopia (blue-blind)
#FFCAC4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f8d591;
/* rgb */ color: rgb(248, 213, 145);
/* oklch */ color: oklch(88.7% 0.094 83.4);
Tailwind
colors: {
  custom: {
    50: '#fce1b2',
    500: '#f8d591',
    950: '#000000',
  },
}
SCSS
$custom: #f8d591;
$custom-light: #fce1b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d591",
  "rgb": {
    "r": 248,
    "g": 213,
    "b": 145
  },
  "hsl": {
    "h": 39.612,
    "s": 88.034,
    "l": 77.059
  },
  "oklch": {
    "l": 0.88745,
    "c": 0.09424,
    "h": 83.4
  },
  "luminance": 0.69589
}

Semantic roles & 50–950 ramp

primary
#F8D591
secondary
#5682D7
accent
#4EE501
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181511
muted
#868481

Preview Lab

Preview with #F8D591

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

Preview Lab → · Contrast checker → · Palette generator →

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