#FEF596#FEF596

#FEF596 is a very light, moderate yellow. Relative luminance 0.886; OKLCH L 95.7% C 0.117 H 103.7°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#FEF596
RGBrgb(254, 245, 150)
HSLhsl(55, 98%, 79%)
HSVhsv(55, 41%, 100%)
CMYKcmyk(0%, 3.5%, 40.9%, 0.4%)
CIE-LABlab(95.40, -10.02, 46.74)
CIE-LCHlch(95.40, 47.80, 102.10°)
OKLaboklab(95.69% -0.0276 0.1135)
OKLCHoklch(95.69% 0.117 103.7)
XYZxyz(79.0320, 88.5798, 41.7827)
Luminance0.8858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF596 #969FFE
analogous
#FEC196 #FEF596 #D3FE96
triadic
#FEF596 #96FEF5 #F596FE
tetradic
#FEF596 #96FEC1 #969FFE #FE96D3
square
#FEF596 #96FEC1 #969FFE #FE96D3
split-complementary
#FEF596 #96D3FE #C196FE
monochromatic
#FDE91D #FDEF59 #FEF596 #FFFBD3 #FFFCE1

Accessibility & contrast

On white

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

On black

18.72
#FEF596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF596
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF596#FFFFFF#000000##000000
##FEF5961.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8F
Deuteranopia (green-blind)
#FFF49A
Tritanopia (blue-blind)
#FFE9DE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef596;
/* rgb */ color: rgb(254, 245, 150);
/* oklch */ color: oklch(95.7% 0.117 103.7);
Tailwind
colors: {
  custom: {
    50: '#fff8b6',
    500: '#fef596',
    950: '#000000',
  },
}
SCSS
$custom: #fef596;
$custom-light: #fff8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fef596",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 150
  },
  "hsl": {
    "h": 54.808,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.95689,
    "c": 0.11682,
    "h": 103.7
  },
  "luminance": 0.88578
}

Semantic roles & 50–950 ramp

primary
#FEF596
secondary
#5864E0
accent
#14E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF596

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

Preview Lab → · Contrast checker → · Palette generator →

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