#F8D173#F8D173

#F8D173 is a very light, vivid orange. Relative luminance 0.668; OKLCH L 87.5% C 0.121 H 87.3°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#F8D173
RGBrgb(248, 209, 115)
HSLhsl(42, 90%, 71%)
HSVhsv(42, 54%, 97%)
CMYKcmyk(0%, 15.7%, 53.6%, 2.7%)
CIE-LABlab(85.40, 2.55, 51.22)
CIE-LCHlch(85.40, 51.28, 87.15°)
OKLaboklab(87.52% 0.0057 0.1211)
OKLCHoklch(87.52% 0.121 87.3)
XYZxyz(64.6091, 66.7986, 25.7066)
Luminance0.6680 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D173 #739AF8
analogous
#F88E73 #F8D173 #DCF873
triadic
#F8D173 #73F8D1 #D173F8
tetradic
#F8D173 #73F88E #739AF8 #F873DC
square
#F8D173 #73F88E #739AF8 #F873DC
split-complementary
#F8D173 #73DCF8 #8E73F8
monochromatic
#E5A50B #F5BE39 #F8D173 #FBE4AD #FEF5E2

Accessibility & contrast

On white

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

On black

14.36
#F8D173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D173
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D173#FFFFFF#000000##000000
##F8D1731.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8d173;
/* rgb */ color: rgb(248, 209, 115);
/* oklch */ color: oklch(87.5% 0.121 87.3);
Tailwind
colors: {
  custom: {
    50: '#fdde9d',
    500: '#f8d173',
    950: '#000000',
  },
}
SCSS
$custom: #f8d173;
$custom-light: #fdde9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d173",
  "rgb": {
    "r": 248,
    "g": 209,
    "b": 115
  },
  "hsl": {
    "h": 42.406,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.87517,
    "c": 0.12126,
    "h": 87.3
  },
  "luminance": 0.66795
}

Semantic roles & 50–950 ramp

primary
#F8D173
secondary
#3C68D3
accent
#43E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D173

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

Preview Lab → · Contrast checker → · Palette generator →

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