#FEF782#FEF782

#FEF782 is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.8% C 0.139 H 105.7°. Best body text is #000000 at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#FEF782
RGBrgb(254, 247, 130)
HSLhsl(57, 98%, 75%)
HSVhsv(57, 49%, 100%)
CMYKcmyk(0%, 2.8%, 48.8%, 0.4%)
CIE-LABlab(95.67, -12.87, 56.56)
CIE-LCHlch(95.67, 58.00, 102.82°)
OKLaboklab(95.82% -0.0376 0.134)
OKLCHoklch(95.82% 0.139 105.7)
XYZxyz(78.1651, 89.2063, 34.2158)
Luminance0.8920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF782 #8289FE
analogous
#FEB982 #FEF782 #C7FE82
triadic
#FEF782 #82FEF7 #F782FE
tetradic
#FEF782 #82FEB9 #8289FE #FE82C7
square
#FEF782 #82FEB9 #8289FE #FE82C7
split-complementary
#FEF782 #82C7FE #B982FE
monochromatic
#FDEF09 #FEF345 #FEF782 #FEFBBF #FFFDE1

Accessibility & contrast

On white

1.11
#FEF782 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.84
#FEF782 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF782
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF782#FFFFFF#000000##000000
##FEF7821.001.1118.8418.84
#FFFFFF1.111.0021.0021.00
#00000018.8421.001.001.00
##00000018.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF78
Deuteranopia (green-blind)
#FFF588
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef782;
/* rgb */ color: rgb(254, 247, 130);
/* oklch */ color: oklch(95.8% 0.139 105.7);
Tailwind
colors: {
  custom: {
    50: '#fff9a9',
    500: '#fef782',
    950: '#000000',
  },
}
SCSS
$custom: #fef782;
$custom-light: #fff9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#fef782",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 130
  },
  "hsl": {
    "h": 56.613,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.95817,
    "c": 0.13918,
    "h": 105.7
  },
  "luminance": 0.89204
}

Semantic roles & 50–950 ramp

primary
#FEF782
secondary
#4750DD
accent
#0DE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF782

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

Preview Lab → · Contrast checker → · Palette generator →

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