#F8D96B#F8D96B

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

Color values

HEX#F8D96B
RGBrgb(248, 217, 107)
HSLhsl(47, 91%, 70%)
HSVhsv(47, 57%, 97%)
CMYKcmyk(0%, 12.5%, 56.9%, 2.7%)
CIE-LABlab(87.31, -2.15, 57.22)
CIE-LCHlch(87.31, 57.26, 92.15°)
OKLaboklab(89% -0.0088 0.1333)
OKLCHoklch(89% 0.134 93.8)
XYZxyz(66.1808, 70.6469, 24.0573)
Luminance0.7064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D96B #6B8AF8
analogous
#F8936B #F8D96B #D0F86B
triadic
#F8D96B #6BF8D9 #D96BF8
tetradic
#F8D96B #6BF893 #6B8AF8 #F86BD0
square
#F8D96B #6BF893 #6B8AF8 #F86BD0
split-complementary
#F8D96B #6BD0F8 #936BF8
monochromatic
#DEB00B #F5CA31 #F8D96B #FBE8A5 #FEF7E0

Accessibility & contrast

On white

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

On black

15.13
#F8D96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D96B
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D96B#FFFFFF#000000##000000
##F8D96B1.001.3915.1315.13
#FFFFFF1.391.0021.0021.00
#00000015.1321.001.001.00
##00000015.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD560
Deuteranopia (green-blind)
#F4DF70
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8d96b;
/* rgb */ color: rgb(248, 217, 107);
/* oklch */ color: oklch(89.0% 0.134 93.8);
Tailwind
colors: {
  custom: {
    50: '#fde498',
    500: '#f8d96b',
    950: '#000000',
  },
}
SCSS
$custom: #f8d96b;
$custom-light: #fde498;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d96b",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 107
  },
  "hsl": {
    "h": 46.809,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88996,
    "c": 0.13363,
    "h": 93.8
  },
  "luminance": 0.70644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8D96B

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

Preview Lab → · Contrast checker → · Palette generator →

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