#F8B162#F8B162

#F8B162 is a light, vivid orange. Relative luminance 0.523; OKLCH L 81.2% C 0.127 H 67.3°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#F8B162
RGBrgb(248, 177, 98)
HSLhsl(32, 91%, 68%)
HSVhsv(32, 60%, 97%)
CMYKcmyk(0%, 28.6%, 60.5%, 2.7%)
CIE-LABlab(77.45, 17.95, 50.03)
CIE-LCHlch(77.45, 53.15, 70.26°)
OKLaboklab(81.23% 0.0489 0.1168)
OKLCHoklch(81.23% 0.127 67.3)
XYZxyz(56.6416, 52.2870, 18.6621)
Luminance0.5228 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8B162 #62A9F8
analogous
#F86662 #F8B162 #F4F862
triadic
#F8B162 #62F8B1 #B162F8
tetradic
#F8B162 #62F866 #62A9F8 #F862F4
square
#F8B162 #62F866 #62A9F8 #F862F4
split-complementary
#F8B162 #62F4F8 #6662F8
monochromatic
#D6750A #F59427 #F8B162 #FBCE9D #FDEBD7

Accessibility & contrast

On white

1.83
#F8B162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#F8B162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8B162
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8B162#FFFFFF#000000##000000
##F8B1621.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B65B
Deuteranopia (green-blind)
#D9C664
Tritanopia (blue-blind)
#FFA09F
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #f8b162;
/* rgb */ color: rgb(248, 177, 98);
/* oklch */ color: oklch(81.2% 0.127 67.3);
Tailwind
colors: {
  custom: {
    50: '#ffc891',
    500: '#f8b162',
    950: '#000000',
  },
}
SCSS
$custom: #f8b162;
$custom-light: #ffc891;
$custom-dark: #000000;
JSON
{
  "hex": "#f8b162",
  "rgb": {
    "r": 248,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 31.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.81225,
    "c": 0.12659,
    "h": 67.3
  },
  "luminance": 0.52283
}

Semantic roles & 50–950 ramp

primary
#F8B162
secondary
#2E7BD0
accent
#6DE600
background
#FFFDFC
surface
#FFF9F4
border
#D7D2CE
text
#18130D
muted
#86827F

Preview Lab

Preview with #F8B162

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

Preview Lab → · Contrast checker → · Palette generator →

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