#F8D87B#F8D87B

#F8D87B is a very light, moderate orange. Relative luminance 0.705; OKLCH L 89.0% C 0.118 H 90.9°. Best body text is #000000 at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#F8D87B
RGBrgb(248, 216, 123)
HSLhsl(45, 90%, 73%)
HSVhsv(45, 50%, 97%)
CMYKcmyk(0%, 12.9%, 50.4%, 2.7%)
CIE-LABlab(87.24, -0.36, 49.59)
CIE-LCHlch(87.24, 49.59, 90.42°)
OKLaboklab(89% -0.0019 0.1182)
OKLCHoklch(89% 0.118 90.9)
XYZxyz(66.8448, 70.5013, 28.8222)
Luminance0.7050 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D87B #7B9BF8
analogous
#F8997B #F8D87B #D9F87B
triadic
#F8D87B #7BF8D8 #D87BF8
tetradic
#F8D87B #7BF899 #7B9BF8 #F87BD9
square
#F8D87B #7BF899 #7B9BF8 #F87BD9
split-complementary
#F8D87B #7BD9F8 #997BF8
monochromatic
#ECB30D #F5C741 #F8D87B #FBE9B5 #FDF6E2

Accessibility & contrast

On white

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

On black

15.10
#F8D87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D87B
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D87B#FFFFFF#000000##000000
##F8D87B1.001.3915.1015.10
#FFFFFF1.391.0021.0021.00
#00000015.1021.001.001.00
##00000015.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD573
Deuteranopia (green-blind)
#F2DE7E
Tritanopia (blue-blind)
#FFCBC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8d87b;
/* rgb */ color: rgb(248, 216, 123);
/* oklch */ color: oklch(89.0% 0.118 90.9);
Tailwind
colors: {
  custom: {
    50: '#fde3a3',
    500: '#f8d87b',
    950: '#000000',
  },
}
SCSS
$custom: #f8d87b;
$custom-light: #fde3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d87b",
  "rgb": {
    "r": 248,
    "g": 216,
    "b": 123
  },
  "hsl": {
    "h": 44.64,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.88998,
    "c": 0.11821,
    "h": 90.9
  },
  "luminance": 0.70498
}

Semantic roles & 50–950 ramp

primary
#F8D87B
secondary
#4368D4
accent
#3BE600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F8D87B

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

Preview Lab → · Contrast checker → · Palette generator →

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