#F8D362#F8D362

#F8D362 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.7% C 0.137 H 91.2°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#F8D362
RGBrgb(248, 211, 98)
HSLhsl(45, 91%, 68%)
HSVhsv(45, 60%, 97%)
CMYKcmyk(0%, 14.9%, 60.5%, 2.7%)
CIE-LABlab(85.72, 0.28, 59.49)
CIE-LCHlch(85.72, 59.49, 89.73°)
OKLaboklab(87.71% -0.0029 0.1372)
OKLCHoklch(87.71% 0.137 91.2)
XYZxyz(64.2132, 67.4303, 21.1860)
Luminance0.6743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D362 #6287F8
analogous
#F88862 #F8D362 #D2F862
triadic
#F8D362 #62F8D3 #D362F8
tetradic
#F8D362 #62F888 #6287F8 #F862D2
square
#F8D362 #62F888 #6287F8 #F862D2
split-complementary
#F8D362 #62D2F8 #8862F8
monochromatic
#D6A40A #F5C327 #F8D362 #FBE39D #FDF4D7

Accessibility & contrast

On white

1.45
#F8D362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#F8D362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D362
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D362#FFFFFF#000000##000000
##F8D3621.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D056
Deuteranopia (green-blind)
#F1DB67
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f8d362;
/* rgb */ color: rgb(248, 211, 98);
/* oklch */ color: oklch(87.7% 0.137 91.2);
Tailwind
colors: {
  custom: {
    50: '#fee092',
    500: '#f8d362',
    950: '#000000',
  },
}
SCSS
$custom: #f8d362;
$custom-light: #fee092;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d362",
  "rgb": {
    "r": 248,
    "g": 211,
    "b": 98
  },
  "hsl": {
    "h": 45.2,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.8771,
    "c": 0.13718,
    "h": 91.2
  },
  "luminance": 0.67427
}

Semantic roles & 50–950 ramp

primary
#F8D362
secondary
#2E56D0
accent
#39E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D362

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

Preview Lab → · Contrast checker → · Palette generator →

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