#F8D97E#F8D97E

#F8D97E is a very light, moderate orange. Relative luminance 0.711; OKLCH L 89.2% C 0.116 H 91.1°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#F8D97E
RGBrgb(248, 217, 126)
HSLhsl(45, 90%, 73%)
HSVhsv(45, 49%, 97%)
CMYKcmyk(0%, 12.5%, 49.2%, 2.7%)
CIE-LABlab(87.53, -0.61, 48.48)
CIE-LCHlch(87.53, 48.49, 90.72°)
OKLaboklab(89.24% -0.0023 0.116)
OKLCHoklch(89.24% 0.116 91.1)
XYZxyz(67.2925, 71.0915, 29.9121)
Luminance0.7109 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D97E #7E9DF8
analogous
#F89C7E #F8D97E #DAF87E
triadic
#F8D97E #7EF8D9 #D97EF8
tetradic
#F8D97E #7EF89C #7E9DF8 #F87EDA
square
#F8D97E #7EF89C #7E9DF8 #F87EDA
split-complementary
#F8D97E #7EDAF8 #9C7EF8
monochromatic
#EFB50D #F5C844 #F8D97E #FBEAB8 #FDF6E2

Accessibility & contrast

On white

1.38
#F8D97E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.22
#F8D97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D97E
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D97E#FFFFFF#000000##000000
##F8D97E1.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD676
Deuteranopia (green-blind)
#F3DF81
Tritanopia (blue-blind)
#FFCCC3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8d97e;
/* rgb */ color: rgb(248, 217, 126);
/* oklch */ color: oklch(89.2% 0.116 91.1);
Tailwind
colors: {
  custom: {
    50: '#fde4a5',
    500: '#f8d97e',
    950: '#000000',
  },
}
SCSS
$custom: #f8d97e;
$custom-light: #fde4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d97e",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 126
  },
  "hsl": {
    "h": 44.754,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.89237,
    "c": 0.11601,
    "h": 91.1
  },
  "luminance": 0.71089
}

Semantic roles & 50–950 ramp

primary
#F8D97E
secondary
#466AD5
accent
#3AE600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F8D97E

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

Preview Lab → · Contrast checker → · Palette generator →

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