#F8DF97#F8DF97

#F8DF97 is a very light, moderate orange. Relative luminance 0.750; OKLCH L 90.8% C 0.095 H 91.1°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#F8DF97
RGBrgb(248, 223, 151)
HSLhsl(45, 87%, 78%)
HSVhsv(45, 39%, 97%)
CMYKcmyk(0%, 10.1%, 39.1%, 2.7%)
CIE-LABlab(89.38, -1.21, 38.42)
CIE-LCHlch(89.38, 38.44, 91.81°)
OKLaboklab(90.81% -0.0018 0.0946)
OKLCHoklch(90.81% 0.095 91.1)
XYZxyz(70.6866, 74.9687, 40.0191)
Luminance0.7497 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF97 #97B0F8
analogous
#F8AE97 #F8DF97 #E0F897
triadic
#F8DF97 #97F8DF #DF97F8
tetradic
#F8DF97 #97F8AE #97B0F8 #F897E0
square
#F8DF97 #97F8AE #97B0F8 #F897E0
split-complementary
#F8DF97 #97E0F8 #AE97F8
monochromatic
#F0BC24 #F4CD5E #F8DF97 #FCF1D0 #FDF6E2

Accessibility & contrast

On white

1.31
#F8DF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.99
#F8DF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DF97
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DF97#FFFFFF#000000##000000
##F8DF971.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDC92
Deuteranopia (green-blind)
#F5E499
Tritanopia (blue-blind)
#FFD4CD
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f8df97;
/* rgb */ color: rgb(248, 223, 151);
/* oklch */ color: oklch(90.8% 0.095 91.1);
Tailwind
colors: {
  custom: {
    50: '#fce8b6',
    500: '#f8df97',
    950: '#000000',
  },
}
SCSS
$custom: #f8df97;
$custom-light: #fce8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df97",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 44.536,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.90809,
    "c": 0.09462,
    "h": 91.1
  },
  "luminance": 0.74966
}

Semantic roles & 50–950 ramp

primary
#F8DF97
secondary
#5C7CD8
accent
#3CE402
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181611
muted
#868481

Preview Lab

Preview with #F8DF97

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

Preview Lab → · Contrast checker → · Palette generator →

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