#F8D96A#F8D96A

#F8D96A is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 89.0% C 0.135 H 93.9°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#F8D96A
RGBrgb(248, 217, 106)
HSLhsl(47, 91%, 69%)
HSVhsv(47, 57%, 97%)
CMYKcmyk(0%, 12.5%, 57.3%, 2.7%)
CIE-LABlab(87.30, -2.22, 57.66)
CIE-LCHlch(87.30, 57.71, 92.21°)
OKLaboklab(88.99% -0.0092 0.1342)
OKLCHoklch(88.99% 0.135 93.9)
XYZxyz(66.1285, 70.6259, 23.7818)
Luminance0.7062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D96A #6A89F8
analogous
#F8926A #F8D96A #D0F86A
triadic
#F8D96A #6AF8D9 #D96AF8
tetradic
#F8D96A #6AF892 #6A89F8 #F86AD0
square
#F8D96A #6AF892 #6A89F8 #F86AD0
split-complementary
#F8D96A #6AD0F8 #926AF8
monochromatic
#DDAF0A #F5CA30 #F8D96A #FBE8A4 #FDF7DF

Accessibility & contrast

On white

1.39
#F8D96A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.12
#F8D96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D96A
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D96A#FFFFFF#000000##000000
##F8D96A1.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD55F
Deuteranopia (green-blind)
#F5DF6F
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8d96a;
/* rgb */ color: rgb(248, 217, 106);
/* oklch */ color: oklch(89.0% 0.135 93.9);
Tailwind
colors: {
  custom: {
    50: '#fde498',
    500: '#f8d96a',
    950: '#000000',
  },
}
SCSS
$custom: #f8d96a;
$custom-light: #fde498;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d96a",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 106
  },
  "hsl": {
    "h": 46.901,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.88985,
    "c": 0.1345,
    "h": 93.9
  },
  "luminance": 0.70623
}

Semantic roles & 50–950 ramp

primary
#F8D96A
secondary
#3457D2
accent
#32E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D96A

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

Preview Lab → · Contrast checker → · Palette generator →

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