#F8D481#F8D481

#F8D481 is a very light, moderate orange. Relative luminance 0.686; OKLCH L 88.3% C 0.110 H 86.7°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#F8D481
RGBrgb(248, 212, 129)
HSLhsl(42, 89%, 74%)
HSVhsv(42, 48%, 97%)
CMYKcmyk(0%, 14.5%, 48%, 2.7%)
CIE-LABlab(86.32, 2.21, 45.52)
CIE-LCHlch(86.32, 45.57, 87.22°)
OKLaboklab(88.3% 0.0063 0.1096)
OKLCHoklch(88.3% 0.11 86.7)
XYZxyz(66.2197, 68.6316, 30.5238)
Luminance0.6863 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D481 #81A5F8
analogous
#F89981 #F8D481 #E1F881
triadic
#F8D481 #81F8D4 #D481F8
tetradic
#F8D481 #81F899 #81A5F8 #F881E1
square
#F8D481 #81F899 #81A5F8 #F881E1
split-complementary
#F8D481 #81E1F8 #9981F8
monochromatic
#F1AC0D #F5C047 #F8D481 #FBE8BB #FDF5E2

Accessibility & contrast

On white

1.43
#F8D481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.73
#F8D481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D481
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D481#FFFFFF#000000##000000
##F8D4811.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D27A
Deuteranopia (green-blind)
#EFDC84
Tritanopia (blue-blind)
#FFC7C0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f8d481;
/* rgb */ color: rgb(248, 212, 129);
/* oklch */ color: oklch(88.3% 0.110 86.7);
Tailwind
colors: {
  custom: {
    50: '#fde1a7',
    500: '#f8d481',
    950: '#000000',
  },
}
SCSS
$custom: #f8d481;
$custom-light: #fde1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d481",
  "rgb": {
    "r": 248,
    "g": 212,
    "b": 129
  },
  "hsl": {
    "h": 41.849,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.88297,
    "c": 0.10977,
    "h": 86.7
  },
  "luminance": 0.68628
}

Semantic roles & 50–950 ramp

primary
#F8D481
secondary
#4873D5
accent
#45E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F8D481

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

Preview Lab → · Contrast checker → · Palette generator →

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