#FEF486#FEF486

#FEF486 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.3% C 0.132 H 104.0°. Best body text is #000000 at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#FEF486
RGBrgb(254, 244, 134)
HSLhsl(55, 98%, 76%)
HSVhsv(55, 47%, 100%)
CMYKcmyk(0%, 3.9%, 47.2%, 0.4%)
CIE-LABlab(94.95, -11.05, 53.83)
CIE-LCHlch(94.95, 54.95, 101.60°)
OKLaboklab(95.26% -0.032 0.1283)
OKLCHoklch(95.26% 0.132 104)
XYZxyz(77.5287, 87.4957, 35.3540)
Luminance0.8749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF486 #8690FE
analogous
#FEB886 #FEF486 #CCFE86
triadic
#FEF486 #86FEF4 #F486FE
tetradic
#FEF486 #86FEB8 #8690FE #FE86CC
square
#FEF486 #86FEB8 #8690FE #FE86CC
split-complementary
#FEF486 #86CCFE #B886FE
monochromatic
#FDE90D #FDEE49 #FEF486 #FFFAC3 #FFFCE1

Accessibility & contrast

On white

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

On black

18.50
#FEF486 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF486
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF486#FFFFFF#000000##000000
##FEF4861.001.1418.5018.50
#FFFFFF1.141.0021.0021.00
#00000018.5021.001.001.00
##00000018.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7D
Deuteranopia (green-blind)
#FFF38B
Tritanopia (blue-blind)
#FFE7DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef486;
/* rgb */ color: rgb(254, 244, 134);
/* oklch */ color: oklch(95.3% 0.132 104.0);
Tailwind
colors: {
  custom: {
    50: '#fff7ab',
    500: '#fef486',
    950: '#000000',
  },
}
SCSS
$custom: #fef486;
$custom-light: #fff7ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fef486",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 134
  },
  "hsl": {
    "h": 55,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.95262,
    "c": 0.13225,
    "h": 104
  },
  "luminance": 0.87493
}

Semantic roles & 50–950 ramp

primary
#FEF486
secondary
#4A57DE
accent
#13E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF486

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

Preview Lab → · Contrast checker → · Palette generator →

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