#FEF176#FEF176

#FEF176 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.5% C 0.144 H 103.3°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#FEF176
RGBrgb(254, 241, 118)
HSLhsl(54, 99%, 73%)
HSVhsv(54, 54%, 100%)
CMYKcmyk(0%, 5.1%, 53.5%, 0.4%)
CIE-LABlab(94.01, -10.91, 60.09)
CIE-LCHlch(94.01, 61.07, 100.29°)
OKLaboklab(94.46% -0.0332 0.1406)
OKLCHoklch(94.46% 0.144 103.3)
XYZxyz(75.6007, 85.2920, 29.6167)
Luminance0.8529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF176 #7683FE
analogous
#FEAD76 #FEF176 #C7FE76
triadic
#FEF176 #76FEF1 #F176FE
tetradic
#FEF176 #76FEAD #7683FE #FE76C7
square
#FEF176 #76FEAD #7683FE #FE76C7
split-complementary
#FEF176 #76C7FE #AD76FE
monochromatic
#F8E002 #FEEB39 #FEF176 #FEF7B3 #FFFCE1

Accessibility & contrast

On white

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

On black

18.06
#FEF176 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF176
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF176#FFFFFF#000000##000000
##FEF1761.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6A
Deuteranopia (green-blind)
#FFF17C
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fef176;
/* rgb */ color: rgb(254, 241, 118);
/* oklch */ color: oklch(94.5% 0.144 103.3);
Tailwind
colors: {
  custom: {
    50: '#fff5a1',
    500: '#fef176',
    950: '#000000',
  },
}
SCSS
$custom: #fef176;
$custom-light: #fff5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fef176",
  "rgb": {
    "r": 254,
    "g": 241,
    "b": 118
  },
  "hsl": {
    "h": 54.265,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94459,
    "c": 0.14444,
    "h": 103.3
  },
  "luminance": 0.85289
}

Semantic roles & 50–950 ramp

primary
#FEF176
secondary
#3D4CDB
accent
#16E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF176

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

Preview Lab → · Contrast checker → · Palette generator →

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