#FEF76E#FEF76E

#FEF76E is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.6% C 0.157 H 106.3°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#FEF76E
RGBrgb(254, 247, 110)
HSLhsl(57, 99%, 71%)
HSVhsv(57, 57%, 100%)
CMYKcmyk(0%, 2.8%, 56.7%, 0.4%)
CIE-LABlab(95.46, -14.44, 65.27)
CIE-LCHlch(95.46, 66.85, 102.47°)
OKLaboklab(95.59% -0.0441 0.1508)
OKLCHoklch(95.59% 0.157 106.3)
XYZxyz(76.9507, 88.7205, 27.8201)
Luminance0.8872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF76E #6E75FE
analogous
#FEAF6E #FEF76E #BDFE6E
triadic
#FEF76E #6EFEF7 #F76EFE
tetradic
#FEF76E #6EFEAF #6E75FE #FE6EBD
square
#FEF76E #6EFEAF #6E75FE #FE6EBD
split-complementary
#FEF76E #6EBDFE #AF6EFE
monochromatic
#F0E402 #FEF431 #FEF76E #FEFAAB #FFFDE1

Accessibility & contrast

On white

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

On black

18.74
#FEF76E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF76E
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF76E#FFFFFF#000000##000000
##FEF76E1.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5F
Deuteranopia (green-blind)
#FFF575
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef76e;
/* rgb */ color: rgb(254, 247, 110);
/* oklch */ color: oklch(95.6% 0.157 106.3);
Tailwind
colors: {
  custom: {
    50: '#fff99c',
    500: '#fef76e',
    950: '#000000',
  },
}
SCSS
$custom: #fef76e;
$custom-light: #fff99c;
$custom-dark: #000000;
JSON
{
  "hex": "#fef76e",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 110
  },
  "hsl": {
    "h": 57.083,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.9559,
    "c": 0.15716,
    "h": 106.3
  },
  "luminance": 0.88718
}

Semantic roles & 50–950 ramp

primary
#FEF76E
secondary
#363EDA
accent
#0BE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEF76E

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

Preview Lab → · Contrast checker → · Palette generator →

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