#FEF284#FEF284

#FEF284 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.8% C 0.132 H 103.0°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#FEF284
RGBrgb(254, 242, 132)
HSLhsl(54, 98%, 76%)
HSVhsv(54, 48%, 100%)
CMYKcmyk(0%, 4.7%, 48%, 0.4%)
CIE-LABlab(94.42, -10.24, 54.12)
CIE-LCHlch(94.42, 55.08, 100.72°)
OKLaboklab(94.83% -0.0298 0.1288)
OKLCHoklch(94.83% 0.132 103)
XYZxyz(76.7921, 86.2434, 34.4268)
Luminance0.8624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF284 #8490FE
analogous
#FEB584 #FEF284 #CDFE84
triadic
#FEF284 #84FEF2 #F284FE
tetradic
#FEF284 #84FEB5 #8490FE #FE84CD
square
#FEF284 #84FEB5 #8490FE #FE84CD
split-complementary
#FEF284 #84CDFE #B584FE
monochromatic
#FDE50B #FEEC47 #FEF284 #FEF8C1 #FFFCE1

Accessibility & contrast

On white

1.15
#FEF284 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.25
#FEF284 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF284
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF284#FFFFFF#000000##000000
##FEF2841.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7A
Deuteranopia (green-blind)
#FFF289
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef284;
/* rgb */ color: rgb(254, 242, 132);
/* oklch */ color: oklch(94.8% 0.132 103.0);
Tailwind
colors: {
  custom: {
    50: '#fff6aa',
    500: '#fef284',
    950: '#000000',
  },
}
SCSS
$custom: #fef284;
$custom-light: #fff6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#fef284",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 132
  },
  "hsl": {
    "h": 54.098,
    "s": 98.387,
    "l": 75.686
  },
  "oklch": {
    "l": 0.94832,
    "c": 0.13223,
    "h": 103
  },
  "luminance": 0.86241
}

Semantic roles & 50–950 ramp

primary
#FEF284
secondary
#4957DD
accent
#17E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF284

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

Preview Lab → · Contrast checker → · Palette generator →

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