#F8D78A#F8D78A

#F8D78A is a very light, moderate orange. Relative luminance 0.704; OKLCH L 89.0% C 0.103 H 87.1°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#F8D78A
RGBrgb(248, 215, 138)
HSLhsl(42, 89%, 76%)
HSVhsv(42, 44%, 97%)
CMYKcmyk(0%, 13.3%, 44.4%, 2.7%)
CIE-LABlab(87.19, 1.53, 42.14)
CIE-LCHlch(87.19, 42.17, 87.92°)
OKLaboklab(89.02% 0.0051 0.1025)
OKLCHoklch(89.02% 0.103 87.1)
XYZxyz(67.6014, 70.3953, 34.0666)
Luminance0.7039 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D78A #8AABF8
analogous
#F8A08A #F8D78A #E2F88A
triadic
#F8D78A #8AF8D7 #D78AF8
tetradic
#F8D78A #8AF8A0 #8AABF8 #F88AE2
square
#F8D78A #8AF8A0 #8AABF8 #F88AE2
split-complementary
#F8D78A #8AE2F8 #A08AF8
monochromatic
#F1B017 #F5C350 #F8D78A #FBEBC4 #FDF5E2

Accessibility & contrast

On white

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

On black

15.08
#F8D78A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D78A
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D78A#FFFFFF#000000##000000
##F8D78A1.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D584
Deuteranopia (green-blind)
#F0DE8D
Tritanopia (blue-blind)
#FFCBC4
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f8d78a;
/* rgb */ color: rgb(248, 215, 138);
/* oklch */ color: oklch(89.0% 0.103 87.1);
Tailwind
colors: {
  custom: {
    50: '#fce3ad',
    500: '#f8d78a',
    950: '#000000',
  },
}
SCSS
$custom: #f8d78a;
$custom-light: #fce3ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d78a",
  "rgb": {
    "r": 248,
    "g": 215,
    "b": 138
  },
  "hsl": {
    "h": 42,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.89022,
    "c": 0.10264,
    "h": 87.1
  },
  "luminance": 0.70392
}

Semantic roles & 50–950 ramp

primary
#F8D78A
secondary
#5078D6
accent
#45E500
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181510
muted
#868481

Preview Lab

Preview with #F8D78A

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

Preview Lab → · Contrast checker → · Palette generator →

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