#FEF593#FEF593

#FEF593 is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.6% C 0.120 H 103.8°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#FEF593
RGBrgb(254, 245, 147)
HSLhsl(55, 98%, 79%)
HSVhsv(55, 42%, 100%)
CMYKcmyk(0%, 3.5%, 42.1%, 0.4%)
CIE-LABlab(95.36, -10.32, 48.14)
CIE-LCHlch(95.36, 49.24, 102.10°)
OKLaboklab(95.65% -0.0287 0.1165)
OKLCHoklch(95.65% 0.12 103.8)
XYZxyz(78.7935, 88.4844, 40.5267)
Luminance0.8848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF593 #939CFE
analogous
#FEBF93 #FEF593 #D1FE93
triadic
#FEF593 #93FEF5 #F593FE
tetradic
#FEF593 #93FEBF #939CFE #FE93D1
square
#FEF593 #93FEBF #939CFE #FE93D1
split-complementary
#FEF593 #93D1FE #BF93FE
monochromatic
#FDEA1A #FDEF56 #FEF593 #FFFBD0 #FFFCE1

Accessibility & contrast

On white

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

On black

18.70
#FEF593 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF593
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF593#FFFFFF#000000##000000
##FEF5931.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef593;
/* rgb */ color: rgb(254, 245, 147);
/* oklch */ color: oklch(95.6% 0.120 103.8);
Tailwind
colors: {
  custom: {
    50: '#fff8b4',
    500: '#fef593',
    950: '#000000',
  },
}
SCSS
$custom: #fef593;
$custom-light: #fff8b4;
$custom-dark: #000000;
JSON
{
  "hex": "#fef593",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 147
  },
  "hsl": {
    "h": 54.953,
    "s": 98.165,
    "l": 78.627
  },
  "oklch": {
    "l": 0.95645,
    "c": 0.12,
    "h": 103.8
  },
  "luminance": 0.88482
}

Semantic roles & 50–950 ramp

primary
#FEF593
secondary
#5661E0
accent
#13E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF593

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

Preview Lab → · Contrast checker → · Palette generator →

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