#F8C262#F8C262

#F8C262 is a very light, vivid orange. Relative luminance 0.594; OKLCH L 84.4% C 0.129 H 79.9°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#F8C262
RGBrgb(248, 194, 98)
HSLhsl(38, 91%, 68%)
HSVhsv(38, 60%, 97%)
CMYKcmyk(0%, 21.8%, 60.5%, 2.7%)
CIE-LABlab(81.53, 9.05, 54.74)
CIE-LCHlch(81.53, 55.48, 80.61°)
OKLaboklab(84.41% 0.0227 0.127)
OKLCHoklch(84.41% 0.129 79.9)
XYZxyz(60.2110, 59.4258, 19.8519)
Luminance0.5942 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8C262 #6298F8
analogous
#F87762 #F8C262 #E3F862
triadic
#F8C262 #62F8C2 #C262F8
tetradic
#F8C262 #62F877 #6298F8 #F862E3
square
#F8C262 #62F877 #6298F8 #F862E3
split-complementary
#F8C262 #62E3F8 #7762F8
monochromatic
#D68C0A #F5AB27 #F8C262 #FBD99D #FDF0D7

Accessibility & contrast

On white

1.63
#F8C262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#F8C262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8C262
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8C262#FFFFFF#000000##000000
##F8C2621.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C359
Deuteranopia (green-blind)
#E5D065
Tritanopia (blue-blind)
#FFB2AC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #f8c262;
/* rgb */ color: rgb(248, 194, 98);
/* oklch */ color: oklch(84.4% 0.129 79.9);
Tailwind
colors: {
  custom: {
    50: '#fed491',
    500: '#f8c262',
    950: '#000000',
  },
}
SCSS
$custom: #f8c262;
$custom-light: #fed491;
$custom-dark: #000000;
JSON
{
  "hex": "#f8c262",
  "rgb": {
    "r": 248,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 38.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.84409,
    "c": 0.12896,
    "h": 79.9
  },
  "luminance": 0.59422
}

Semantic roles & 50–950 ramp

primary
#F8C262
secondary
#2E68D0
accent
#53E600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F8C262

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

Preview Lab → · Contrast checker → · Palette generator →

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