#FFD981#FFD981

#FFD981 is a very light, moderate orange. Relative luminance 0.725; OKLCH L 89.9% C 0.115 H 86.7°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#FFD981
RGBrgb(255, 217, 129)
HSLhsl(42, 100%, 75%)
HSVhsv(42, 49%, 100%)
CMYKcmyk(0%, 14.9%, 49.4%, 0%)
CIE-LABlab(88.20, 2.45, 47.98)
CIE-LCHlch(88.20, 48.05, 87.08°)
OKLaboklab(89.92% 0.0066 0.115)
OKLCHoklch(89.92% 0.115 86.7)
XYZxyz(70.0179, 72.4741, 31.0655)
Luminance0.7247 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD981 #81A7FF
analogous
#FF9A81 #FFD981 #E6FF81
triadic
#FFD981 #81FFD9 #D981FF
tetradic
#FFD981 #81FF9A #81A7FF #FF81E6
square
#FFD981 #81FF9A #81A7FF #FF81E6
split-complementary
#FFD981 #81E6FF #9A81FF
monochromatic
#FFB407 #FFC744 #FFD981 #FFEBBE #FFF6E0

Accessibility & contrast

On white

1.36
#FFD981 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.49
#FFD981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD981
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD981#FFFFFF#000000##000000
##FFD9811.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD77A
Deuteranopia (green-blind)
#F5E284
Tritanopia (blue-blind)
#FFCBC4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ffd981;
/* rgb */ color: rgb(255, 217, 129);
/* oklch */ color: oklch(89.9% 0.115 86.7);
Tailwind
colors: {
  custom: {
    50: '#ffe4a7',
    500: '#ffd981',
    950: '#000000',
  },
}
SCSS
$custom: #ffd981;
$custom-light: #ffe4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd981",
  "rgb": {
    "r": 255,
    "g": 217,
    "b": 129
  },
  "hsl": {
    "h": 41.905,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.89922,
    "c": 0.11519,
    "h": 86.7
  },
  "luminance": 0.72471
}

Semantic roles & 50–950 ramp

primary
#FFD981
secondary
#4674DE
accent
#45E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #FFD981

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

Preview Lab → · Contrast checker → · Palette generator →

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