#F8D96C#F8D96C

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

Color values

HEX#F8D96C
RGBrgb(248, 217, 108)
HSLhsl(47, 91%, 70%)
HSVhsv(47, 56%, 97%)
CMYKcmyk(0%, 12.5%, 56.5%, 2.7%)
CIE-LABlab(87.32, -2.07, 56.77)
CIE-LCHlch(87.32, 56.81, 92.09°)
OKLaboklab(89.01% -0.0085 0.1325)
OKLCHoklch(89.01% 0.133 93.7)
XYZxyz(66.2337, 70.6680, 24.3360)
Luminance0.7067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D96C #6C8BF8
analogous
#F8936C #F8D96C #D1F86C
triadic
#F8D96C #6CF8D9 #D96CF8
tetradic
#F8D96C #6CF893 #6C8BF8 #F86CD1
square
#F8D96C #6CF893 #6C8BF8 #F86CD1
split-complementary
#F8D96C #6CD1F8 #936CF8
monochromatic
#DFB00B #F5CA32 #F8D96C #FBE8A6 #FEF7E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8D96C#FFFFFF#000000##000000
##F8D96C1.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)
#ECD561
Deuteranopia (green-blind)
#F4DF71
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8d96c;
/* rgb */ color: rgb(248, 217, 108);
/* oklch */ color: oklch(89.0% 0.133 93.7);
Tailwind
colors: {
  custom: {
    50: '#fde499',
    500: '#f8d96c',
    950: '#000000',
  },
}
SCSS
$custom: #f8d96c;
$custom-light: #fde499;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d96c",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 46.714,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89008,
    "c": 0.13276,
    "h": 93.7
  },
  "luminance": 0.70665
}

Semantic roles & 50–950 ramp

primary
#F8D96C
secondary
#3659D2
accent
#33E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D96C

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

Preview Lab → · Contrast checker → · Palette generator →

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