#FEF76A#FEF76A

#FEF76A is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.5% C 0.160 H 106.4°. Best body text is #000000 at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#FEF76A
RGBrgb(254, 247, 106)
HSLhsl(57, 99%, 71%)
HSVhsv(57, 58%, 100%)
CMYKcmyk(0%, 2.8%, 58.3%, 0.4%)
CIE-LABlab(95.43, -14.71, 66.94)
CIE-LCHlch(95.43, 68.53, 102.40°)
OKLaboklab(95.55% -0.0453 0.1539)
OKLCHoklch(95.55% 0.16 106.4)
XYZxyz(76.7378, 88.6354, 26.6990)
Luminance0.8863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF76A #6A71FE
analogous
#FEAD6A #FEF76A #BBFE6A
triadic
#FEF76A #6AFEF7 #F76AFE
tetradic
#FEF76A #6AFEAD #6A71FE #FE6ABB
square
#FEF76A #6AFEAD #6A71FE #FE6ABB
split-complementary
#FEF76A #6ABBFE #AD6AFE
monochromatic
#ECE102 #FEF42D #FEF76A #FEFAA7 #FFFDE1

Accessibility & contrast

On white

1.12
#FEF76A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.73
#FEF76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF76A
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF76A#FFFFFF#000000##000000
##FEF76A1.001.1218.7318.73
#FFFFFF1.121.0021.0021.00
#00000018.7321.001.001.00
##00000018.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5A
Deuteranopia (green-blind)
#FFF572
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef76a;
/* rgb */ color: rgb(254, 247, 106);
/* oklch */ color: oklch(95.5% 0.160 106.4);
Tailwind
colors: {
  custom: {
    50: '#fff99a',
    500: '#fef76a',
    950: '#000000',
  },
}
SCSS
$custom: #fef76a;
$custom-light: #fff99a;
$custom-dark: #000000;
JSON
{
  "hex": "#fef76a",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 106
  },
  "hsl": {
    "h": 57.162,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9555,
    "c": 0.16044,
    "h": 106.4
  },
  "luminance": 0.88633
}

Semantic roles & 50–950 ramp

primary
#FEF76A
secondary
#333ADA
accent
#0BE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEF76A

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

Preview Lab → · Contrast checker → · Palette generator →

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