#F8D381#F8D381

#F8D381 is a very light, moderate orange. Relative luminance 0.681; OKLCH L 88.1% C 0.109 H 85.9°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#F8D381
RGBrgb(248, 211, 129)
HSLhsl(41, 89%, 74%)
HSVhsv(41, 48%, 97%)
CMYKcmyk(0%, 14.9%, 48%, 2.7%)
CIE-LABlab(86.07, 2.73, 45.21)
CIE-LCHlch(86.07, 45.29, 86.55°)
OKLaboklab(88.1% 0.0078 0.1089)
OKLCHoklch(88.1% 0.109 85.9)
XYZxyz(65.9705, 68.1331, 30.4407)
Luminance0.6813 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D381 #81A6F8
analogous
#F89881 #F8D381 #E1F881
triadic
#F8D381 #81F8D3 #D381F8
tetradic
#F8D381 #81F898 #81A6F8 #F881E1
square
#F8D381 #81F898 #81A6F8 #F881E1
split-complementary
#F8D381 #81E1F8 #9881F8
monochromatic
#F1AA0D #F5BF47 #F8D381 #FBE7BB #FDF5E2

Accessibility & contrast

On white

1.44
#F8D381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#F8D381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D381
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D381#FFFFFF#000000##000000
##F8D3811.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D27A
Deuteranopia (green-blind)
#EEDB84
Tritanopia (blue-blind)
#FFC6BF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f8d381;
/* rgb */ color: rgb(248, 211, 129);
/* oklch */ color: oklch(88.1% 0.109 85.9);
Tailwind
colors: {
  custom: {
    50: '#fde0a7',
    500: '#f8d381',
    950: '#000000',
  },
}
SCSS
$custom: #f8d381;
$custom-light: #fde0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d381",
  "rgb": {
    "r": 248,
    "g": 211,
    "b": 129
  },
  "hsl": {
    "h": 41.345,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.88102,
    "c": 0.10918,
    "h": 85.9
  },
  "luminance": 0.6813
}

Semantic roles & 50–950 ramp

primary
#F8D381
secondary
#4874D5
accent
#47E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F8D381

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

Preview Lab → · Contrast checker → · Palette generator →

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