#FFD781#FFD781

#FFD781 is a very light, moderate orange. Relative luminance 0.714; OKLCH L 89.5% C 0.114 H 85.2°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#FFD781
RGBrgb(255, 215, 129)
HSLhsl(41, 100%, 75%)
HSVhsv(41, 49%, 100%)
CMYKcmyk(0%, 15.7%, 49.4%, 0%)
CIE-LABlab(87.70, 3.47, 47.38)
CIE-LCHlch(87.70, 47.50, 85.81°)
OKLaboklab(89.53% 0.0095 0.1136)
OKLCHoklch(89.53% 0.114 85.2)
XYZxyz(69.5055, 71.4493, 30.8947)
Luminance0.7145 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD781 #81A9FF
analogous
#FF9881 #FFD781 #E8FF81
triadic
#FFD781 #81FFD7 #D781FF
tetradic
#FFD781 #81FF98 #81A9FF #FF81E8
square
#FFD781 #81FF98 #81A9FF #FF81E8
split-complementary
#FFD781 #81E8FF #9881FF
monochromatic
#FFB007 #FFC444 #FFD781 #FFEABE #FFF5E0

Accessibility & contrast

On white

1.37
#FFD781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.29
#FFD781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD781
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD781#FFFFFF#000000##000000
##FFD7811.001.3715.2915.29
#FFFFFF1.371.0021.0021.00
#00000015.2921.001.001.00
##00000015.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD67A
Deuteranopia (green-blind)
#F4E084
Tritanopia (blue-blind)
#FFC9C2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ffd781;
/* rgb */ color: rgb(255, 215, 129);
/* oklch */ color: oklch(89.5% 0.114 85.2);
Tailwind
colors: {
  custom: {
    50: '#ffe3a7',
    500: '#ffd781',
    950: '#000000',
  },
}
SCSS
$custom: #ffd781;
$custom-light: #ffe3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd781",
  "rgb": {
    "r": 255,
    "g": 215,
    "b": 129
  },
  "hsl": {
    "h": 40.952,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.89534,
    "c": 0.11404,
    "h": 85.2
  },
  "luminance": 0.71446
}

Semantic roles & 50–950 ramp

primary
#FFD781
secondary
#4676DE
accent
#49E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #FFD781

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

Preview Lab → · Contrast checker → · Palette generator →

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