#FEF577#FEF577

#FEF577 is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.3% C 0.147 H 105.1°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#FEF577
RGBrgb(254, 245, 119)
HSLhsl(56, 99%, 73%)
HSVhsv(56, 53%, 100%)
CMYKcmyk(0%, 3.5%, 53.1%, 0.4%)
CIE-LABlab(95.04, -12.79, 60.83)
CIE-LCHlch(95.04, 62.16, 101.88°)
OKLaboklab(95.28% -0.0385 0.1423)
OKLCHoklch(95.28% 0.147 105.1)
XYZxyz(76.8575, 87.7100, 30.3303)
Luminance0.8771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF577 #7780FE
analogous
#FEB177 #FEF577 #C3FE77
triadic
#FEF577 #77FEF5 #F577FE
tetradic
#FEF577 #77FEB1 #7780FE #FE77C3
square
#FEF577 #77FEB1 #7780FE #FE77C3
split-complementary
#FEF577 #77C3FE #B177FE
monochromatic
#F9E802 #FEF13A #FEF577 #FEF9B4 #FFFDE1

Accessibility & contrast

On white

1.13
#FEF577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.54
#FEF577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF577
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF577#FFFFFF#000000##000000
##FEF5771.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6B
Deuteranopia (green-blind)
#FFF37D
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef577;
/* rgb */ color: rgb(254, 245, 119);
/* oklch */ color: oklch(95.3% 0.147 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff8a2',
    500: '#fef577',
    950: '#000000',
  },
}
SCSS
$custom: #fef577;
$custom-light: #fff8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fef577",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 119
  },
  "hsl": {
    "h": 56,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.9528,
    "c": 0.1474,
    "h": 105.1
  },
  "luminance": 0.87708
}

Semantic roles & 50–950 ramp

primary
#FEF577
secondary
#3E48DC
accent
#0FE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF577

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

Preview Lab → · Contrast checker → · Palette generator →

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