#FFE381#FFE381

#FFE381 is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.9% C 0.122 H 93.9°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#FFE381
RGBrgb(255, 227, 129)
HSLhsl(47, 100%, 75%)
HSVhsv(47, 49%, 100%)
CMYKcmyk(0%, 11%, 49.4%, 0%)
CIE-LABlab(90.68, -2.63, 51.03)
CIE-LCHlch(90.68, 51.10, 92.95°)
OKLaboklab(91.88% -0.0082 0.1218)
OKLCHoklch(91.88% 0.122 93.9)
XYZxyz(72.6740, 77.7862, 31.9508)
Luminance0.7778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE381 #819DFF
analogous
#FFA481 #FFE381 #DCFF81
triadic
#FFE381 #81FFE3 #E381FF
tetradic
#FFE381 #81FFA4 #819DFF #FF81DC
square
#FFE381 #81FFA4 #819DFF #FF81DC
split-complementary
#FFE381 #81DCFF #A481FF
monochromatic
#FFC807 #FFD544 #FFE381 #FFF1BE #FFF8E0

Accessibility & contrast

On white

1.27
#FFE381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#FFE381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE381
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE381#FFFFFF#000000##000000
##FFE3811.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DF79
Deuteranopia (green-blind)
#FDE885
Tritanopia (blue-blind)
#FFD6CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ffe381;
/* rgb */ color: rgb(255, 227, 129);
/* oklch */ color: oklch(91.9% 0.122 93.9);
Tailwind
colors: {
  custom: {
    50: '#ffeba7',
    500: '#ffe381',
    950: '#000000',
  },
}
SCSS
$custom: #ffe381;
$custom-light: #ffeba7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe381",
  "rgb": {
    "r": 255,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 46.667,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.91883,
    "c": 0.12204,
    "h": 93.9
  },
  "luminance": 0.77783
}

Semantic roles & 50–950 ramp

primary
#FFE381
secondary
#4668DE
accent
#33E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #FFE381

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

Preview Lab → · Contrast checker → · Palette generator →

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