#F8D662#F8D662

#F8D662 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.3% C 0.139 H 93.0°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#F8D662
RGBrgb(248, 214, 98)
HSLhsl(46, 91%, 68%)
HSVhsv(46, 60%, 97%)
CMYKcmyk(0%, 13.7%, 60.5%, 2.7%)
CIE-LABlab(86.47, -1.25, 60.33)
CIE-LCHlch(86.47, 60.34, 91.19°)
OKLaboklab(88.3% -0.0073 0.1389)
OKLCHoklch(88.3% 0.139 93)
XYZxyz(64.9655, 68.9348, 21.4367)
Luminance0.6893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D662 #6284F8
analogous
#F88B62 #F8D662 #CFF862
triadic
#F8D662 #62F8D6 #D662F8
tetradic
#F8D662 #62F88B #6284F8 #F862CF
square
#F8D662 #62F88B #6284F8 #F862CF
split-complementary
#F8D662 #62CFF8 #8B62F8
monochromatic
#D6A80A #F5C727 #F8D662 #FBE59D #FDF5D7

Accessibility & contrast

On white

1.42
#F8D662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.79
#F8D662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D662
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D662#FFFFFF#000000##000000
##F8D6621.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD356
Deuteranopia (green-blind)
#F3DD67
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f8d662;
/* rgb */ color: rgb(248, 214, 98);
/* oklch */ color: oklch(88.3% 0.139 93.0);
Tailwind
colors: {
  custom: {
    50: '#fee293',
    500: '#f8d662',
    950: '#000000',
  },
}
SCSS
$custom: #f8d662;
$custom-light: #fee293;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d662",
  "rgb": {
    "r": 248,
    "g": 214,
    "b": 98
  },
  "hsl": {
    "h": 46.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88303,
    "c": 0.13913,
    "h": 93
  },
  "luminance": 0.68931
}

Semantic roles & 50–950 ramp

primary
#F8D662
secondary
#2E53D0
accent
#34E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D662

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

Preview Lab → · Contrast checker → · Palette generator →

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