#F8D371#F8D371

#F8D371 is a very light, vivid orange. Relative luminance 0.677; OKLCH L 87.9% C 0.124 H 89.1°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#F8D371
RGBrgb(248, 211, 113)
HSLhsl(44, 91%, 71%)
HSVhsv(44, 54%, 97%)
CMYKcmyk(0%, 14.9%, 54.4%, 2.7%)
CIE-LABlab(85.88, 1.37, 52.74)
CIE-LCHlch(85.88, 52.76, 88.51°)
OKLaboklab(87.88% 0.0021 0.1243)
OKLCHoklch(87.88% 0.124 89.1)
XYZxyz(64.9890, 67.7406, 25.2717)
Luminance0.6774 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D371 #7196F8
analogous
#F88F71 #F8D371 #D9F871
triadic
#F8D371 #71F8D3 #D371F8
tetradic
#F8D371 #71F88F #7196F8 #F871D9
square
#F8D371 #71F88F #7196F8 #F871D9
split-complementary
#F8D371 #71D9F8 #8F71F8
monochromatic
#E3A80B #F5C137 #F8D371 #FBE5AB #FEF6E2

Accessibility & contrast

On white

1.44
#F8D371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.55
#F8D371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D371
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D371#FFFFFF#000000##000000
##F8D3711.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D168
Deuteranopia (green-blind)
#F0DB75
Tritanopia (blue-blind)
#FFC5BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f8d371;
/* rgb */ color: rgb(248, 211, 113);
/* oklch */ color: oklch(87.9% 0.124 89.1);
Tailwind
colors: {
  custom: {
    50: '#fde09c',
    500: '#f8d371',
    950: '#000000',
  },
}
SCSS
$custom: #f8d371;
$custom-light: #fde09c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d371",
  "rgb": {
    "r": 248,
    "g": 211,
    "b": 113
  },
  "hsl": {
    "h": 43.556,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87883,
    "c": 0.12427,
    "h": 89.1
  },
  "luminance": 0.67737
}

Semantic roles & 50–950 ramp

primary
#F8D371
secondary
#3A64D3
accent
#3FE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D371

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

Preview Lab → · Contrast checker → · Palette generator →

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