#FEF182#FEF182

#FEF182 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.6% C 0.133 H 102.6°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#FEF182
RGBrgb(254, 241, 130)
HSLhsl(54, 98%, 75%)
HSVhsv(54, 49%, 100%)
CMYKcmyk(0%, 5.1%, 48.8%, 0.4%)
CIE-LABlab(94.14, -9.92, 54.72)
CIE-LCHlch(94.14, 55.62, 100.28°)
OKLaboklab(94.6% -0.0291 0.13)
OKLCHoklch(94.6% 0.133 102.6)
XYZxyz(76.3597, 85.5956, 33.6140)
Luminance0.8559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF182 #828FFE
analogous
#FEB382 #FEF182 #CDFE82
triadic
#FEF182 #82FEF1 #F182FE
tetradic
#FEF182 #82FEB3 #828FFE #FE82CD
square
#FEF182 #82FEB3 #828FFE #FE82CD
split-complementary
#FEF182 #82CDFE #B382FE
monochromatic
#FDE309 #FEEA45 #FEF182 #FEF8BF #FFFCE1

Accessibility & contrast

On white

1.16
#FEF182 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#FEF182 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF182
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF182#FFFFFF#000000##000000
##FEF1821.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB78
Deuteranopia (green-blind)
#FFF187
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fef182;
/* rgb */ color: rgb(254, 241, 130);
/* oklch */ color: oklch(94.6% 0.133 102.6);
Tailwind
colors: {
  custom: {
    50: '#fff5a9',
    500: '#fef182',
    950: '#000000',
  },
}
SCSS
$custom: #fef182;
$custom-light: #fff5a9;
$custom-dark: #000000;
JSON
{
  "hex": "#fef182",
  "rgb": {
    "r": 254,
    "g": 241,
    "b": 130
  },
  "hsl": {
    "h": 53.71,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.94604,
    "c": 0.13321,
    "h": 102.6
  },
  "luminance": 0.85593
}

Semantic roles & 50–950 ramp

primary
#FEF182
secondary
#4757DD
accent
#18E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF182

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

Preview Lab → · Contrast checker → · Palette generator →

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