#FEF59E#FEF59E

#FEF59E is a very light, moderate yellow. Relative luminance 0.888; OKLCH L 95.8% C 0.108 H 103.1°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#FEF59E
RGBrgb(254, 245, 158)
HSLhsl(54, 98%, 81%)
HSVhsv(54, 38%, 100%)
CMYKcmyk(0%, 3.5%, 37.8%, 0.4%)
CIE-LABlab(95.52, -9.18, 42.97)
CIE-LCHlch(95.52, 43.94, 102.06°)
OKLaboklab(95.81% -0.0246 0.1053)
OKLCHoklch(95.81% 0.108 103.1)
XYZxyz(79.6983, 88.8463, 45.2919)
Luminance0.8884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF59E #9EA7FE
analogous
#FEC59E #FEF59E #D7FE9E
triadic
#FEF59E #9EFEF5 #F59EFE
tetradic
#FEF59E #9EFEC5 #9EA7FE #FE9ED7
square
#FEF59E #9EFEC5 #9EA7FE #FE9ED7
split-complementary
#FEF59E #9ED7FE #C59EFE
monochromatic
#FDE925 #FDEF61 #FEF59E #FFFBDB #FFFCE1

Accessibility & contrast

On white

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

On black

18.77
#FEF59E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF59E
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF59E#FFFFFF#000000##000000
##FEF59E1.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF98
Deuteranopia (green-blind)
#FFF4A1
Tritanopia (blue-blind)
#FFEADF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef59e;
/* rgb */ color: rgb(254, 245, 158);
/* oklch */ color: oklch(95.8% 0.108 103.1);
Tailwind
colors: {
  custom: {
    50: '#fff8bb',
    500: '#fef59e',
    950: '#000000',
  },
}
SCSS
$custom: #fef59e;
$custom-light: #fff8bb;
$custom-dark: #000000;
JSON
{
  "hex": "#fef59e",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 158
  },
  "hsl": {
    "h": 54.375,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.95814,
    "c": 0.10814,
    "h": 103.1
  },
  "luminance": 0.88844
}

Semantic roles & 50–950 ramp

primary
#FEF59E
secondary
#5F6BE1
accent
#16E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FEF59E

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

Preview Lab → · Contrast checker → · Palette generator →

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