#FFE981#FFE981

#FFE981 is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 93.1% C 0.127 H 97.7°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#FFE981
RGBrgb(255, 233, 129)
HSLhsl(50, 100%, 75%)
HSVhsv(50, 49%, 100%)
CMYKcmyk(0%, 8.6%, 49.4%, 0%)
CIE-LABlab(92.19, -5.64, 52.86)
CIE-LCHlch(92.19, 53.16, 96.09°)
OKLaboklab(93.07% -0.0169 0.1258)
OKLCHoklch(93.07% 0.127 97.7)
XYZxyz(74.3437, 81.1257, 32.5074)
Luminance0.8112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE981 #8197FF
analogous
#FFAA81 #FFE981 #D6FF81
triadic
#FFE981 #81FFE9 #E981FF
tetradic
#FFE981 #81FFAA #8197FF #FF81D6
square
#FFE981 #81FFAA #8197FF #FF81D6
split-complementary
#FFE981 #81D6FF #AA81FF
monochromatic
#FFD407 #FFDE44 #FFE981 #FFF4BE #FFFAE0

Accessibility & contrast

On white

1.22
#FFE981 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#FFE981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE981
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE981#FFFFFF#000000##000000
##FFE9811.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE478
Deuteranopia (green-blind)
#FFEC85
Tritanopia (blue-blind)
#FFDCD1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ffe981;
/* rgb */ color: rgb(255, 233, 129);
/* oklch */ color: oklch(93.1% 0.127 97.7);
Tailwind
colors: {
  custom: {
    50: '#ffefa8',
    500: '#ffe981',
    950: '#000000',
  },
}
SCSS
$custom: #ffe981;
$custom-light: #ffefa8;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe981",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 129
  },
  "hsl": {
    "h": 49.524,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93073,
    "c": 0.12693,
    "h": 97.7
  },
  "luminance": 0.81123
}

Semantic roles & 50–950 ramp

primary
#FFE981
secondary
#4660DE
accent
#28E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181610
muted
#868580

Preview Lab

Preview with #FFE981

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

Preview Lab → · Contrast checker → · Palette generator →

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