#F8DF86#F8DF86

#F8DF86 is a very light, moderate yellow. Relative luminance 0.745; OKLCH L 90.5% C 0.113 H 94.2°. Best body text is #000000 at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#F8DF86
RGBrgb(248, 223, 134)
HSLhsl(47, 89%, 75%)
HSVhsv(47, 46%, 97%)
CMYKcmyk(0%, 10.1%, 46%, 2.7%)
CIE-LABlab(89.14, -2.93, 46.57)
CIE-LCHlch(89.14, 46.66, 93.60°)
OKLaboklab(90.54% -0.0082 0.1123)
OKLCHoklch(90.54% 0.113 94.2)
XYZxyz(69.4042, 74.4558, 33.2652)
Luminance0.7445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF86 #869FF8
analogous
#F8A686 #F8DF86 #D8F886
triadic
#F8DF86 #86F8DF #DF86F8
tetradic
#F8DF86 #86F8A6 #869FF8 #F886D8
square
#F8DF86 #86F8A6 #869FF8 #F886D8
split-complementary
#F8DF86 #86D8F8 #A686F8
monochromatic
#F1C012 #F5D04C #F8DF86 #FBEEC0 #FDF7E2

Accessibility & contrast

On white

1.32
#F8DF86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.89
#F8DF86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DF86
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DF86#FFFFFF#000000##000000
##F8DF861.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB7F
Deuteranopia (green-blind)
#F6E389
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f8df86;
/* rgb */ color: rgb(248, 223, 134);
/* oklch */ color: oklch(90.5% 0.113 94.2);
Tailwind
colors: {
  custom: {
    50: '#fce8ab',
    500: '#f8df86',
    950: '#000000',
  },
}
SCSS
$custom: #f8df86;
$custom-light: #fce8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df86",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 134
  },
  "hsl": {
    "h": 46.842,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.9054,
    "c": 0.11257,
    "h": 94.2
  },
  "luminance": 0.74453
}

Semantic roles & 50–950 ramp

primary
#F8DF86
secondary
#4D6BD6
accent
#32E600
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F8DF86

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

Preview Lab → · Contrast checker → · Palette generator →

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