#F8D262#F8D262

#F8D262 is a very light, vivid orange. Relative luminance 0.669; OKLCH L 87.5% C 0.137 H 90.6°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#F8D262
RGBrgb(248, 210, 98)
HSLhsl(45, 91%, 68%)
HSVhsv(45, 60%, 97%)
CMYKcmyk(0%, 15.3%, 60.5%, 2.7%)
CIE-LABlab(85.47, 0.79, 59.21)
CIE-LCHlch(85.47, 59.21, 89.23°)
OKLaboklab(87.51% -0.0014 0.1366)
OKLCHoklch(87.51% 0.137 90.6)
XYZxyz(63.9656, 66.9349, 21.1034)
Luminance0.6693 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D262 #6288F8
analogous
#F88762 #F8D262 #D3F862
triadic
#F8D262 #62F8D2 #D262F8
tetradic
#F8D262 #62F887 #6288F8 #F862D3
square
#F8D262 #62F887 #6288F8 #F862D3
split-complementary
#F8D262 #62D3F8 #8762F8
monochromatic
#D6A20A #F5C127 #F8D262 #FBE39D #FDF4D7

Accessibility & contrast

On white

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

On black

14.39
#F8D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D262
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D262#FFFFFF#000000##000000
##F8D2621.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF56
Deuteranopia (green-blind)
#F0DA67
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f8d262;
/* rgb */ color: rgb(248, 210, 98);
/* oklch */ color: oklch(87.5% 0.137 90.6);
Tailwind
colors: {
  custom: {
    50: '#fedf92',
    500: '#f8d262',
    950: '#000000',
  },
}
SCSS
$custom: #f8d262;
$custom-light: #fedf92;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d262",
  "rgb": {
    "r": 248,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 44.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87513,
    "c": 0.13656,
    "h": 90.6
  },
  "luminance": 0.66931
}

Semantic roles & 50–950 ramp

primary
#F8D262
secondary
#2E57D0
accent
#3AE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D262

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

Preview Lab → · Contrast checker → · Palette generator →

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