#F8D171#F8D171

#F8D171 is a very light, vivid orange. Relative luminance 0.667; OKLCH L 87.5% C 0.123 H 87.7°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#F8D171
RGBrgb(248, 209, 113)
HSLhsl(43, 91%, 71%)
HSVhsv(43, 54%, 97%)
CMYKcmyk(0%, 15.7%, 54.4%, 2.7%)
CIE-LABlab(85.38, 2.39, 52.15)
CIE-LCHlch(85.38, 52.20, 87.37°)
OKLaboklab(87.49% 0.005 0.123)
OKLCHoklch(87.49% 0.123 87.7)
XYZxyz(64.4952, 66.7530, 25.1071)
Luminance0.6675 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D171 #7198F8
analogous
#F88D71 #F8D171 #DBF871
triadic
#F8D171 #71F8D1 #D171F8
tetradic
#F8D171 #71F88D #7198F8 #F871DB
square
#F8D171 #71F88D #7198F8 #F871DB
split-complementary
#F8D171 #71DBF8 #8D71F8
monochromatic
#E3A50B #F5BE37 #F8D171 #FBE4AB #FEF6E2

Accessibility & contrast

On white

1.46
#F8D171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#F8D171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D171
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D171#FFFFFF#000000##000000
##F8D1711.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF68
Deuteranopia (green-blind)
#EEDA75
Tritanopia (blue-blind)
#FFC3BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f8d171;
/* rgb */ color: rgb(248, 209, 113);
/* oklch */ color: oklch(87.5% 0.123 87.7);
Tailwind
colors: {
  custom: {
    50: '#fdde9c',
    500: '#f8d171',
    950: '#000000',
  },
}
SCSS
$custom: #f8d171;
$custom-light: #fdde9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d171",
  "rgb": {
    "r": 248,
    "g": 209,
    "b": 113
  },
  "hsl": {
    "h": 42.667,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87491,
    "c": 0.12306,
    "h": 87.7
  },
  "luminance": 0.6675
}

Semantic roles & 50–950 ramp

primary
#F8D171
secondary
#3A66D3
accent
#42E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D171

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

Preview Lab → · Contrast checker → · Palette generator →

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