#F5F596#F5F596

#F5F596 is a very light, moderate yellow. Relative luminance 0.869; OKLCH L 95.0% C 0.117 H 108.4°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#F5F596
RGBrgb(245, 245, 150)
HSLhsl(60, 83%, 77%)
HSVhsv(60, 39%, 96%)
CMYKcmyk(0%, 0%, 38.8%, 3.9%)
CIE-LABlab(94.70, -13.47, 45.71)
CIE-LCHlch(94.70, 47.65, 106.42°)
OKLaboklab(94.96% -0.0371 0.1113)
OKLCHoklch(94.96% 0.117 108.4)
XYZxyz(75.8147, 86.9208, 41.6319)
Luminance0.8692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F596 #9696F5
analogous
#F5C696 #F5F596 #C6F596
triadic
#F5F596 #96F5F5 #F596F5
tetradic
#F5F596 #96F5C6 #9696F5 #F596C6
square
#F5F596 #96F5C6 #9696F5 #F596C6
split-complementary
#F5F596 #96C6F5 #C696F5
monochromatic
#EAEA26 #F0F05E #F5F596 #FAFACE #FCFCE3

Accessibility & contrast

On white

1.14
#F5F596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.38
#F5F596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F596
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F596#FFFFFF#000000##000000
##F5F5961.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8F
Deuteranopia (green-blind)
#FFF29A
Tritanopia (blue-blind)
#FFEADE
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5f596;
/* rgb */ color: rgb(245, 245, 150);
/* oklch */ color: oklch(95.0% 0.117 108.4);
Tailwind
colors: {
  custom: {
    50: '#faf8b6',
    500: '#f5f596',
    950: '#000000',
  },
}
SCSS
$custom: #f5f596;
$custom-light: #faf8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f596",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 150
  },
  "hsl": {
    "h": 60,
    "s": 82.609,
    "l": 77.451
  },
  "oklch": {
    "l": 0.94963,
    "c": 0.11728,
    "h": 108.4
  },
  "luminance": 0.86919
}

Semantic roles & 50–950 ramp

primary
#F5F596
secondary
#5C5CD3
accent
#06DF06
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F5F596

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

Preview Lab → · Contrast checker → · Palette generator →

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