#FEF591#FEF591

#FEF591 is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.6% C 0.122 H 103.9°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#FEF591
RGBrgb(254, 245, 145)
HSLhsl(55, 98%, 78%)
HSVhsv(55, 43%, 100%)
CMYKcmyk(0%, 3.5%, 42.9%, 0.4%)
CIE-LABlab(95.34, -10.52, 49.07)
CIE-LCHlch(95.34, 50.19, 102.10°)
OKLaboklab(95.62% -0.0294 0.1185)
OKLCHoklch(95.62% 0.122 103.9)
XYZxyz(78.6379, 88.4221, 39.7073)
Luminance0.8842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF591 #919AFE
analogous
#FEBE91 #FEF591 #D0FE91
triadic
#FEF591 #91FEF5 #F591FE
tetradic
#FEF591 #91FEBE #919AFE #FE91D0
square
#FEF591 #91FEBE #919AFE #FE91D0
split-complementary
#FEF591 #91D0FE #BE91FE
monochromatic
#FDEA18 #FDEF54 #FEF591 #FFFBCE #FFFCE1

Accessibility & contrast

On white

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

On black

18.68
#FEF591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF591
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF591#FFFFFF#000000##000000
##FEF5911.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF89
Deuteranopia (green-blind)
#FFF495
Tritanopia (blue-blind)
#FFE9DD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef591;
/* rgb */ color: rgb(254, 245, 145);
/* oklch */ color: oklch(95.6% 0.122 103.9);
Tailwind
colors: {
  custom: {
    50: '#fff8b3',
    500: '#fef591',
    950: '#000000',
  },
}
SCSS
$custom: #fef591;
$custom-light: #fff8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fef591",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 145
  },
  "hsl": {
    "h": 55.046,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.95615,
    "c": 0.12209,
    "h": 103.9
  },
  "luminance": 0.8842
}

Semantic roles & 50–950 ramp

primary
#FEF591
secondary
#545FDF
accent
#13E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF591

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

Preview Lab → · Contrast checker → · Palette generator →

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