#FEF57A#FEF57A

#FEF57A is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.3% C 0.145 H 105.0°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#FEF57A
RGBrgb(254, 245, 122)
HSLhsl(56, 99%, 74%)
HSVhsv(56, 52%, 100%)
CMYKcmyk(0%, 3.5%, 52%, 0.4%)
CIE-LABlab(95.07, -12.56, 59.51)
CIE-LCHlch(95.07, 60.82, 101.92°)
OKLaboklab(95.32% -0.0375 0.1397)
OKLCHoklch(95.32% 0.145 105)
XYZxyz(77.0405, 87.7832, 31.2942)
Luminance0.8778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF57A #7A83FE
analogous
#FEB37A #FEF57A #C5FE7A
triadic
#FEF57A #7AFEF5 #F57AFE
tetradic
#FEF57A #7AFEB3 #7A83FE #FE7AC5
square
#FEF57A #7AFEB3 #7A83FE #FE7AC5
split-complementary
#FEF57A #7AC5FE #B37AFE
monochromatic
#FCEB02 #FEF03D #FEF57A #FEFAB7 #FFFDE1

Accessibility & contrast

On white

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

On black

18.56
#FEF57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF57A
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF57A#FFFFFF#000000##000000
##FEF57A1.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef57a;
/* rgb */ color: rgb(254, 245, 122);
/* oklch */ color: oklch(95.3% 0.145 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff8a3',
    500: '#fef57a',
    950: '#000000',
  },
}
SCSS
$custom: #fef57a;
$custom-light: #fff8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fef57a",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 122
  },
  "hsl": {
    "h": 55.909,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.95315,
    "c": 0.14467,
    "h": 105
  },
  "luminance": 0.87781
}

Semantic roles & 50–950 ramp

primary
#FEF57A
secondary
#404BDC
accent
#10E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF57A

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

Preview Lab → · Contrast checker → · Palette generator →

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