#F5E596#F5E596

#F5E596 is a very light, moderate yellow. Relative luminance 0.777; OKLCH L 91.7% C 0.100 H 98.1°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#F5E596
RGBrgb(245, 229, 150)
HSLhsl(50, 83%, 77%)
HSVhsv(50, 39%, 96%)
CMYKcmyk(0%, 6.5%, 38.8%, 3.9%)
CIE-LABlab(90.62, -5.52, 40.49)
CIE-LCHlch(90.62, 40.86, 97.76°)
OKLaboklab(91.73% -0.0142 0.0993)
OKLCHoklch(91.73% 0.1 98.1)
XYZxyz(71.1819, 77.6553, 40.0876)
Luminance0.7765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E596 #96A6F5
analogous
#F5B696 #F5E596 #D5F596
triadic
#F5E596 #96F5E5 #E596F5
tetradic
#F5E596 #96F5B6 #96A6F5 #F596D5
square
#F5E596 #96F5B6 #96A6F5 #F596D5
split-complementary
#F5E596 #96D5F5 #B696F5
monochromatic
#EAC926 #F0D75E #F5E596 #FAF3CE #FCF8E3

Accessibility & contrast

On white

1.27
#F5E596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.53
#F5E596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E596
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E596#FFFFFF#000000##000000
##F5E5961.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E190
Deuteranopia (green-blind)
#F8E799
Tritanopia (blue-blind)
#FFDAD1
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e596;
/* rgb */ color: rgb(245, 229, 150);
/* oklch */ color: oklch(91.7% 0.100 98.1);
Tailwind
colors: {
  custom: {
    50: '#faedb6',
    500: '#f5e596',
    950: '#000000',
  },
}
SCSS
$custom: #f5e596;
$custom-light: #faedb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e596",
  "rgb": {
    "r": 245,
    "g": 229,
    "b": 150
  },
  "hsl": {
    "h": 49.895,
    "s": 82.609,
    "l": 77.451
  },
  "oklch": {
    "l": 0.91726,
    "c": 0.10034,
    "h": 98.1
  },
  "luminance": 0.77653
}

Semantic roles & 50–950 ramp

primary
#F5E596
secondary
#5C70D3
accent
#2BDF06
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F5E596

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

Preview Lab → · Contrast checker → · Palette generator →

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