#F8D795#F8D795

#F8D795 is a very light, moderate orange. Relative luminance 0.707; OKLCH L 89.2% C 0.091 H 84.1°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#F8D795
RGBrgb(248, 215, 149)
HSLhsl(40, 88%, 78%)
HSVhsv(40, 40%, 97%)
CMYKcmyk(0%, 13.3%, 39.9%, 2.7%)
CIE-LABlab(87.35, 2.66, 36.80)
CIE-LCHlch(87.35, 36.90, 85.87°)
OKLaboklab(89.2% 0.0093 0.0908)
OKLCHoklch(89.2% 0.091 84.1)
XYZxyz(68.4384, 70.7301, 38.4752)
Luminance0.7073 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D795 #95B6F8
analogous
#F8A595 #F8D795 #E7F895
triadic
#F8D795 #95F8D7 #D795F8
tetradic
#F8D795 #95F8A5 #95B6F8 #F895E7
square
#F8D795 #95F8A5 #95B6F8 #F895E7
split-complementary
#F8D795 #95E7F8 #A595F8
monochromatic
#F0AC22 #F4C15C #F8D795 #FCEDCE #FDF4E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8D795#FFFFFF#000000##000000
##F8D7951.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)
#E7D690
Deuteranopia (green-blind)
#EFDE97
Tritanopia (blue-blind)
#FFCCC6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8d795;
/* rgb */ color: rgb(248, 215, 149);
/* oklch */ color: oklch(89.2% 0.091 84.1);
Tailwind
colors: {
  custom: {
    50: '#fce3b5',
    500: '#f8d795',
    950: '#000000',
  },
}
SCSS
$custom: #f8d795;
$custom-light: #fce3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d795",
  "rgb": {
    "r": 248,
    "g": 215,
    "b": 149
  },
  "hsl": {
    "h": 40,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.89204,
    "c": 0.09124,
    "h": 84.1
  },
  "luminance": 0.70727
}

Semantic roles & 50–950 ramp

primary
#F8D795
secondary
#5A84D7
accent
#4DE401
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181511
muted
#868481

Preview Lab

Preview with #F8D795

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

Preview Lab → · Contrast checker → · Palette generator →

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