#F8C062#F8C062

#F8C062 is a very light, vivid orange. Relative luminance 0.585; OKLCH L 84.0% C 0.128 H 78.4°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#F8C062
RGBrgb(248, 192, 98)
HSLhsl(38, 91%, 68%)
HSVhsv(38, 60%, 97%)
CMYKcmyk(0%, 22.6%, 60.5%, 2.7%)
CIE-LABlab(81.04, 10.10, 54.18)
CIE-LCHlch(81.04, 55.11, 79.45°)
OKLaboklab(84.03% 0.0257 0.1258)
OKLCHoklch(84.03% 0.128 78.4)
XYZxyz(59.7689, 58.5416, 19.7045)
Luminance0.5854 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8C062 #629AF8
analogous
#F87562 #F8C062 #E5F862
triadic
#F8C062 #62F8C0 #C062F8
tetradic
#F8C062 #62F875 #629AF8 #F862E5
square
#F8C062 #62F875 #629AF8 #F862E5
split-complementary
#F8C062 #62E5F8 #7562F8
monochromatic
#D68A0A #F5A827 #F8C062 #FBD89D #FDEFD7

Accessibility & contrast

On white

1.65
#F8C062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#F8C062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8C062
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8C062#FFFFFF#000000##000000
##F8C0621.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C159
Deuteranopia (green-blind)
#E3CF65
Tritanopia (blue-blind)
#FFB0AB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #f8c062;
/* rgb */ color: rgb(248, 192, 98);
/* oklch */ color: oklch(84.0% 0.128 78.4);
Tailwind
colors: {
  custom: {
    50: '#fed291',
    500: '#f8c062',
    950: '#000000',
  },
}
SCSS
$custom: #f8c062;
$custom-light: #fed291;
$custom-dark: #000000;
JSON
{
  "hex": "#f8c062",
  "rgb": {
    "r": 248,
    "g": 192,
    "b": 98
  },
  "hsl": {
    "h": 37.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.84028,
    "c": 0.12835,
    "h": 78.4
  },
  "luminance": 0.58538
}

Semantic roles & 50–950 ramp

primary
#F8C062
secondary
#2E6AD0
accent
#56E600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F8C062

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

Preview Lab → · Contrast checker → · Palette generator →

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