#F8D87F#F8D87F

#F8D87F is a very light, moderate orange. Relative luminance 0.706; OKLCH L 89.1% C 0.114 H 90.2°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#F8D87F
RGBrgb(248, 216, 127)
HSLhsl(44, 90%, 74%)
HSVhsv(44, 49%, 97%)
CMYKcmyk(0%, 12.9%, 48.8%, 2.7%)
CIE-LABlab(87.29, -0.01, 47.71)
CIE-LCHlch(87.29, 47.71, 90.02°)
OKLaboklab(89.05% -0.0004 0.1143)
OKLCHoklch(89.05% 0.114 90.2)
XYZxyz(67.1004, 70.6035, 30.1680)
Luminance0.7060 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D87F #7F9FF8
analogous
#F89B7F #F8D87F #DCF87F
triadic
#F8D87F #7FF8D8 #D87FF8
tetradic
#F8D87F #7FF89B #7F9FF8 #F87FDC
square
#F8D87F #7FF89B #7F9FF8 #F87FDC
split-complementary
#F8D87F #7FDCF8 #9B7FF8
monochromatic
#F0B40D #F5C645 #F8D87F #FBEAB9 #FDF6E2

Accessibility & contrast

On white

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

On black

15.12
#F8D87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D87F
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D87F#FFFFFF#000000##000000
##F8D87F1.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD578
Deuteranopia (green-blind)
#F2DF82
Tritanopia (blue-blind)
#FFCBC3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8d87f;
/* rgb */ color: rgb(248, 216, 127);
/* oklch */ color: oklch(89.1% 0.114 90.2);
Tailwind
colors: {
  custom: {
    50: '#fde3a6',
    500: '#f8d87f',
    950: '#000000',
  },
}
SCSS
$custom: #f8d87f;
$custom-light: #fde3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d87f",
  "rgb": {
    "r": 248,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 44.132,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.89054,
    "c": 0.11433,
    "h": 90.2
  },
  "luminance": 0.706
}

Semantic roles & 50–950 ramp

primary
#F8D87F
secondary
#466CD5
accent
#3DE600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F8D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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