#F7E596#F7E596

#F7E596 is a very light, moderate yellow. Relative luminance 0.780; OKLCH L 91.9% C 0.101 H 96.9°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#F7E596
RGBrgb(247, 229, 150)
HSLhsl(49, 86%, 78%)
HSVhsv(49, 39%, 97%)
CMYKcmyk(0%, 7.3%, 39.3%, 3.1%)
CIE-LABlab(90.79, -4.74, 40.73)
CIE-LCHlch(90.79, 41.01, 96.64°)
OKLaboklab(91.9% -0.0121 0.0999)
OKLCHoklch(91.9% 0.101 96.9)
XYZxyz(71.8836, 78.0171, 40.1205)
Luminance0.7802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E596 #96A8F7
analogous
#F7B496 #F7E596 #D8F796
triadic
#F7E596 #96F7E5 #E596F7
tetradic
#F7E596 #96F7B4 #96A8F7 #F796D8
square
#F7E596 #96F7B4 #96A8F7 #F796D8
split-complementary
#F7E596 #96D8F7 #B496F7
monochromatic
#EEC924 #F3D75D #F7E596 #FBF3CF #FDF8E3

Accessibility & contrast

On white

1.26
#F7E596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.60
#F7E596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E596
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E596#FFFFFF#000000##000000
##F7E5961.001.2616.6016.60
#FFFFFF1.261.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e596;
/* rgb */ color: rgb(247, 229, 150);
/* oklch */ color: oklch(91.9% 0.101 96.9);
Tailwind
colors: {
  custom: {
    50: '#fbedb6',
    500: '#f7e596',
    950: '#000000',
  },
}
SCSS
$custom: #f7e596;
$custom-light: #fbedb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e596",
  "rgb": {
    "r": 247,
    "g": 229,
    "b": 150
  },
  "hsl": {
    "h": 48.866,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.91896,
    "c": 0.10061,
    "h": 96.9
  },
  "luminance": 0.78015
}

Semantic roles & 50–950 ramp

primary
#F7E596
secondary
#5B72D6
accent
#2DE203
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#181611
muted
#868481

Preview Lab

Preview with #F7E596

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

Preview Lab → · Contrast checker → · Palette generator →

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