#F8D96F#F8D96F

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

Color values

HEX#F8D96F
RGBrgb(248, 217, 111)
HSLhsl(46, 91%, 70%)
HSVhsv(46, 55%, 97%)
CMYKcmyk(0%, 12.5%, 55.2%, 2.7%)
CIE-LABlab(87.36, -1.85, 55.42)
CIE-LCHlch(87.36, 55.45, 91.91°)
OKLaboklab(89.04% -0.0075 0.1299)
OKLCHoklch(89.04% 0.13 93.3)
XYZxyz(66.3961, 70.7330, 25.1914)
Luminance0.7073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D96F #6F8EF8
analogous
#F8946F #F8D96F #D3F86F
triadic
#F8D96F #6FF8D9 #D96FF8
tetradic
#F8D96F #6FF894 #6F8EF8 #F86FD3
square
#F8D96F #6FF894 #6F8EF8 #F86FD3
split-complementary
#F8D96F #6FD3F8 #946FF8
monochromatic
#E2B10B #F5CA35 #F8D96F #FBE8A9 #FEF7E2

Accessibility & contrast

On white

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

On black

15.15
#F8D96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D96F
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D96F#FFFFFF#000000##000000
##F8D96F1.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD565
Deuteranopia (green-blind)
#F4DF73
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8d96f;
/* rgb */ color: rgb(248, 217, 111);
/* oklch */ color: oklch(89.0% 0.130 93.3);
Tailwind
colors: {
  custom: {
    50: '#fde49b',
    500: '#f8d96f',
    950: '#000000',
  },
}
SCSS
$custom: #f8d96f;
$custom-light: #fde49b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d96f",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 111
  },
  "hsl": {
    "h": 46.423,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89043,
    "c": 0.1301,
    "h": 93.3
  },
  "luminance": 0.7073
}

Semantic roles & 50–950 ramp

primary
#F8D96F
secondary
#385BD3
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D96F

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

Preview Lab → · Contrast checker → · Palette generator →

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