#FEFA82#FEFA82

#FEFA82 is a very light, vivid yellow. Relative luminance 0.911; OKLCH L 96.4% C 0.142 H 107.1°. Best body text is #000000 at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#FEFA82
RGBrgb(254, 250, 130)
HSLhsl(58, 98%, 75%)
HSVhsv(58, 49%, 100%)
CMYKcmyk(0%, 1.6%, 48.8%, 0.4%)
CIE-LABlab(96.43, -14.34, 57.47)
CIE-LCHlch(96.43, 59.23, 104.01°)
OKLaboklab(96.43% -0.0418 0.136)
OKLCHoklch(96.43% 0.142 107.1)
XYZxyz(79.0898, 91.0558, 34.5241)
Luminance0.9105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA82 #8286FE
analogous
#FEBC82 #FEFA82 #C4FE82
triadic
#FEFA82 #82FEFA #FA82FE
tetradic
#FEFA82 #82FEBC #8286FE #FE82C4
square
#FEFA82 #82FEBC #8286FE #FE82C4
split-complementary
#FEFA82 #82C4FE #BC82FE
monochromatic
#FDF509 #FEF845 #FEFA82 #FEFCBF #FFFEE1

Accessibility & contrast

On white

1.09
#FEFA82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.21
#FEFA82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFA82
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFA82#FFFFFF#000000##000000
##FEFA821.001.0919.2119.21
#FFFFFF1.091.0021.0021.00
#00000019.2121.001.001.00
##00000019.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF277
Deuteranopia (green-blind)
#FFF788
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fefa82;
/* rgb */ color: rgb(254, 250, 130);
/* oklch */ color: oklch(96.4% 0.142 107.1);
Tailwind
colors: {
  custom: {
    50: '#fffba9',
    500: '#fefa82',
    950: '#000000',
  },
}
SCSS
$custom: #fefa82;
$custom-light: #fffba9;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa82",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 130
  },
  "hsl": {
    "h": 58.065,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.96427,
    "c": 0.14228,
    "h": 107.1
  },
  "luminance": 0.91054
}

Semantic roles & 50–950 ramp

primary
#FEFA82
secondary
#474CDD
accent
#07E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEFA82

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

Preview Lab → · Contrast checker → · Palette generator →

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