#FEF481#FEF481

#FEF481 is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 95.2% C 0.137 H 104.2°. Best body text is #000000 at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#FEF481
RGBrgb(254, 244, 129)
HSLhsl(55, 98%, 75%)
HSVhsv(55, 49%, 100%)
CMYKcmyk(0%, 3.9%, 49.2%, 0.4%)
CIE-LABlab(94.89, -11.49, 56.09)
CIE-LCHlch(94.89, 57.26, 101.57°)
OKLaboklab(95.2% -0.0337 0.1329)
OKLCHoklch(95.2% 0.137 104.2)
XYZxyz(77.1882, 87.3595, 33.5607)
Luminance0.8736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF481 #818BFE
analogous
#FEB581 #FEF481 #C9FE81
triadic
#FEF481 #81FEF4 #F481FE
tetradic
#FEF481 #81FEB5 #818BFE #FE81C9
square
#FEF481 #81FEB5 #818BFE #FE81C9
split-complementary
#FEF481 #81C9FE #B581FE
monochromatic
#FDE908 #FEEF44 #FEF481 #FEF9BE #FFFCE1

Accessibility & contrast

On white

1.14
#FEF481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.47
#FEF481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF481
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF481#FFFFFF#000000##000000
##FEF4811.001.1418.4718.47
#FFFFFF1.141.0021.0021.00
#00000018.4721.001.001.00
##00000018.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED77
Deuteranopia (green-blind)
#FFF386
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef481;
/* rgb */ color: rgb(254, 244, 129);
/* oklch */ color: oklch(95.2% 0.137 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff7a8',
    500: '#fef481',
    950: '#000000',
  },
}
SCSS
$custom: #fef481;
$custom-light: #fff7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fef481",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 129
  },
  "hsl": {
    "h": 55.2,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.95197,
    "c": 0.13712,
    "h": 104.2
  },
  "luminance": 0.87357
}

Semantic roles & 50–950 ramp

primary
#FEF481
secondary
#4652DD
accent
#12E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF481

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

Preview Lab → · Contrast checker → · Palette generator →

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