#FFF596#FFF596

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

Color values

HEX#FFF596
RGBrgb(255, 245, 150)
HSLhsl(54, 100%, 79%)
HSVhsv(54, 41%, 100%)
CMYKcmyk(0%, 3.9%, 41.2%, 0%)
CIE-LABlab(95.48, -9.63, 46.86)
CIE-LCHlch(95.48, 47.84, 101.62°)
OKLaboklab(95.77% -0.0265 0.1138)
OKLCHoklch(95.77% 0.117 103.1)
XYZxyz(79.3990, 88.7690, 41.7999)
Luminance0.8877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF596 #96A0FF
analogous
#FFC196 #FFF596 #D4FF96
triadic
#FFF596 #96FFF5 #F596FF
tetradic
#FFF596 #96FFC1 #96A0FF #FF96D4
square
#FFF596 #96FFC1 #96A0FF #FF96D4
split-complementary
#FFF596 #96D4FF #C196FF
monochromatic
#FFE91C #FFEF59 #FFF596 #FFFBD3 #FFFCE0

Accessibility & contrast

On white

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

On black

18.75
#FFF596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF596
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF596#FFFFFF#000000##000000
##FFF5961.001.1218.7518.75
#FFFFFF1.121.0021.0021.00
#00000018.7521.001.001.00
##00000018.7521.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: #fff596;
/* rgb */ color: rgb(255, 245, 150);
/* oklch */ color: oklch(95.8% 0.117 103.1);
Tailwind
colors: {
  custom: {
    50: '#fff8b6',
    500: '#fff596',
    950: '#000000',
  },
}
SCSS
$custom: #fff596;
$custom-light: #fff8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fff596",
  "rgb": {
    "r": 255,
    "g": 245,
    "b": 150
  },
  "hsl": {
    "h": 54.286,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.95771,
    "c": 0.11682,
    "h": 103.1
  },
  "luminance": 0.88767
}

Semantic roles & 50–950 ramp

primary
#FFF596
secondary
#5865E1
accent
#16E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFF596

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

Preview Lab → · Contrast checker → · Palette generator →

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