#F8D96D#F8D96D

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

Color values

HEX#F8D96D
RGBrgb(248, 217, 109)
HSLhsl(47, 91%, 70%)
HSVhsv(47, 56%, 97%)
CMYKcmyk(0%, 12.5%, 56%, 2.7%)
CIE-LABlab(87.33, -2.00, 56.32)
CIE-LCHlch(87.33, 56.36, 92.03°)
OKLaboklab(89.02% -0.0082 0.1316)
OKLCHoklch(89.02% 0.132 93.6)
XYZxyz(66.2873, 70.6894, 24.6179)
Luminance0.7069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D96D #6D8CF8
analogous
#F8946D #F8D96D #D1F86D
triadic
#F8D96D #6DF8D9 #D96DF8
tetradic
#F8D96D #6DF894 #6D8CF8 #F86DD1
square
#F8D96D #6DF894 #6D8CF8 #F86DD1
split-complementary
#F8D96D #6DD1F8 #946DF8
monochromatic
#E0B00B #F5CA33 #F8D96D #FBE8A7 #FEF7E2

Accessibility & contrast

On white

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

On black

15.14
#F8D96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D96D
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D96D#FFFFFF#000000##000000
##F8D96D1.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8d96d;
/* rgb */ color: rgb(248, 217, 109);
/* oklch */ color: oklch(89.0% 0.132 93.6);
Tailwind
colors: {
  custom: {
    50: '#fde49a',
    500: '#f8d96d',
    950: '#000000',
  },
}
SCSS
$custom: #f8d96d;
$custom-light: #fde49a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d96d",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 109
  },
  "hsl": {
    "h": 46.619,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.89019,
    "c": 0.13187,
    "h": 93.6
  },
  "luminance": 0.70686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8D96D

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

Preview Lab → · Contrast checker → · Palette generator →

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