#FEF082#FEF082

#FEF082 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.4% C 0.132 H 102.1°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#FEF082
RGBrgb(254, 240, 130)
HSLhsl(53, 98%, 75%)
HSVhsv(53, 49%, 100%)
CMYKcmyk(0%, 5.5%, 48.8%, 0.4%)
CIE-LABlab(93.89, -9.43, 54.42)
CIE-LCHlch(93.89, 55.23, 99.83°)
OKLaboklab(94.4% -0.0277 0.1293)
OKLCHoklch(94.4% 0.132 102.1)
XYZxyz(76.0645, 85.0052, 33.5156)
Luminance0.8500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF082 #8290FE
analogous
#FEB282 #FEF082 #CEFE82
triadic
#FEF082 #82FEF0 #F082FE
tetradic
#FEF082 #82FEB2 #8290FE #FE82CE
square
#FEF082 #82FEB2 #8290FE #FE82CE
split-complementary
#FEF082 #82CEFE #B282FE
monochromatic
#FDE109 #FEE945 #FEF082 #FEF7BF #FFFBE1

Accessibility & contrast

On white

1.17
#FEF082 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.00
#FEF082 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF082
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF082#FFFFFF#000000##000000
##FEF0821.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA78
Deuteranopia (green-blind)
#FFF087
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fef082;
/* rgb */ color: rgb(254, 240, 130);
/* oklch */ color: oklch(94.4% 0.132 102.1);
Tailwind
colors: {
  custom: {
    50: '#fff4a8',
    500: '#fef082',
    950: '#000000',
  },
}
SCSS
$custom: #fef082;
$custom-light: #fff4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fef082",
  "rgb": {
    "r": 254,
    "g": 240,
    "b": 130
  },
  "hsl": {
    "h": 53.226,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.94403,
    "c": 0.13226,
    "h": 102.1
  },
  "luminance": 0.85003
}

Semantic roles & 50–950 ramp

primary
#FEF082
secondary
#4758DD
accent
#1AE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF082

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

Preview Lab → · Contrast checker → · Palette generator →

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