#F8D162#F8D162

#F8D162 is a very light, vivid orange. Relative luminance 0.664; OKLCH L 87.3% C 0.136 H 90.0°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#F8D162
RGBrgb(248, 209, 98)
HSLhsl(44, 91%, 68%)
HSVhsv(44, 60%, 97%)
CMYKcmyk(0%, 15.7%, 60.5%, 2.7%)
CIE-LABlab(85.22, 1.30, 58.93)
CIE-LCHlch(85.22, 58.94, 88.73°)
OKLaboklab(87.32% 0.0001 0.1359)
OKLCHoklch(87.32% 0.136 90)
XYZxyz(63.7195, 66.4427, 21.0214)
Luminance0.6644 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D162 #6289F8
analogous
#F88662 #F8D162 #D4F862
triadic
#F8D162 #62F8D1 #D162F8
tetradic
#F8D162 #62F886 #6289F8 #F862D4
square
#F8D162 #62F886 #6289F8 #F862D4
split-complementary
#F8D162 #62D4F8 #8662F8
monochromatic
#D6A10A #F5C027 #F8D162 #FBE29D #FDF3D7

Accessibility & contrast

On white

1.47
#F8D162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#F8D162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D162
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D162#FFFFFF#000000##000000
##F8D1621.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#EFDA67
Tritanopia (blue-blind)
#FFC2B9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f8d162;
/* rgb */ color: rgb(248, 209, 98);
/* oklch */ color: oklch(87.3% 0.136 90.0);
Tailwind
colors: {
  custom: {
    50: '#fede92',
    500: '#f8d162',
    950: '#000000',
  },
}
SCSS
$custom: #f8d162;
$custom-light: #fede92;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d162",
  "rgb": {
    "r": 248,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 44.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87317,
    "c": 0.13595,
    "h": 90
  },
  "luminance": 0.66439
}

Semantic roles & 50–950 ramp

primary
#F8D162
secondary
#2E58D0
accent
#3CE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D162

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

Preview Lab → · Contrast checker → · Palette generator →

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