#FFE781#FFE781

#FFE781 is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.7% C 0.125 H 96.4°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#FFE781
RGBrgb(255, 231, 129)
HSLhsl(49, 100%, 75%)
HSVhsv(49, 49%, 100%)
CMYKcmyk(0%, 9.4%, 49.4%, 0%)
CIE-LABlab(91.68, -4.64, 52.25)
CIE-LCHlch(91.68, 52.46, 95.07°)
OKLaboklab(92.68% -0.014 0.1245)
OKLCHoklch(92.68% 0.125 96.4)
XYZxyz(73.7807, 79.9997, 32.3197)
Luminance0.8000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE781 #8199FF
analogous
#FFA881 #FFE781 #D8FF81
triadic
#FFE781 #81FFE7 #E781FF
tetradic
#FFE781 #81FFA8 #8199FF #FF81D8
square
#FFE781 #81FFA8 #8199FF #FF81D8
split-complementary
#FFE781 #81D8FF #A881FF
monochromatic
#FFD007 #FFDB44 #FFE781 #FFF3BE #FFF9E0

Accessibility & contrast

On white

1.24
#FFE781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.00
#FFE781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE781
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE781#FFFFFF#000000##000000
##FFE7811.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E378
Deuteranopia (green-blind)
#FFEB85
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe781;
/* rgb */ color: rgb(255, 231, 129);
/* oklch */ color: oklch(92.7% 0.125 96.4);
Tailwind
colors: {
  custom: {
    50: '#ffeea7',
    500: '#ffe781',
    950: '#000000',
  },
}
SCSS
$custom: #ffe781;
$custom-light: #ffeea7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe781",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 129
  },
  "hsl": {
    "h": 48.571,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.92676,
    "c": 0.12524,
    "h": 96.4
  },
  "luminance": 0.79997
}

Semantic roles & 50–950 ramp

primary
#FFE781
secondary
#4663DE
accent
#2CE600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #FFE781

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

Preview Lab → · Contrast checker → · Palette generator →

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