#FEF181#FEF181

#FEF181 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.6% C 0.134 H 102.7°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#FEF181
RGBrgb(254, 241, 129)
HSLhsl(54, 98%, 75%)
HSVhsv(54, 49%, 100%)
CMYKcmyk(0%, 5.1%, 49.2%, 0.4%)
CIE-LABlab(94.13, -10.01, 55.18)
CIE-LCHlch(94.13, 56.08, 100.28°)
OKLaboklab(94.59% -0.0295 0.1309)
OKLCHoklch(94.59% 0.134 102.7)
XYZxyz(76.2929, 85.5689, 33.2622)
Luminance0.8557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF181 #818EFE
analogous
#FEB281 #FEF181 #CCFE81
triadic
#FEF181 #81FEF1 #F181FE
tetradic
#FEF181 #81FEB2 #818EFE #FE81CC
square
#FEF181 #81FEB2 #818EFE #FE81CC
split-complementary
#FEF181 #81CCFE #B281FE
monochromatic
#FDE408 #FEEA44 #FEF181 #FEF8BE #FFFCE1

Accessibility & contrast

On white

1.16
#FEF181 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.11
#FEF181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF181
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF181#FFFFFF#000000##000000
##FEF1811.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB77
Deuteranopia (green-blind)
#FFF186
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fef181;
/* rgb */ color: rgb(254, 241, 129);
/* oklch */ color: oklch(94.6% 0.134 102.7);
Tailwind
colors: {
  custom: {
    50: '#fff5a8',
    500: '#fef181',
    950: '#000000',
  },
}
SCSS
$custom: #fef181;
$custom-light: #fff5a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fef181",
  "rgb": {
    "r": 254,
    "g": 241,
    "b": 129
  },
  "hsl": {
    "h": 53.76,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.94591,
    "c": 0.13419,
    "h": 102.7
  },
  "luminance": 0.85566
}

Semantic roles & 50–950 ramp

primary
#FEF181
secondary
#4656DD
accent
#18E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF181

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

Preview Lab → · Contrast checker → · Palette generator →

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