#F7EA96#F7EA96

#F7EA96 is a very light, moderate yellow. Relative luminance 0.808; OKLCH L 92.9% C 0.105 H 100.6°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#F7EA96
RGBrgb(247, 234, 150)
HSLhsl(52, 86%, 78%)
HSVhsv(52, 39%, 97%)
CMYKcmyk(0%, 5.3%, 39.3%, 3.1%)
CIE-LABlab(92.05, -7.25, 42.36)
CIE-LCHlch(92.05, 42.98, 99.72°)
OKLaboklab(92.9% -0.0193 0.1036)
OKLCHoklch(92.9% 0.105 100.6)
XYZxyz(73.2870, 80.8239, 40.5883)
Luminance0.8082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EA96 #96A3F7
analogous
#F7B996 #F7EA96 #D3F796
triadic
#F7EA96 #96F7EA #EA96F7
tetradic
#F7EA96 #96F7B9 #96A3F7 #F796D3
square
#F7EA96 #96F7B9 #96A3F7 #F796D3
split-complementary
#F7EA96 #96D3F7 #B996F7
monochromatic
#EED324 #F3DF5D #F7EA96 #FBF5CF #FDF9E3

Accessibility & contrast

On white

1.22
#F7EA96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.16
#F7EA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EA96
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EA96#FFFFFF#000000##000000
##F7EA961.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E590
Deuteranopia (green-blind)
#FDEB99
Tritanopia (blue-blind)
#FFDFD5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f7ea96;
/* rgb */ color: rgb(247, 234, 150);
/* oklch */ color: oklch(92.9% 0.105 100.6);
Tailwind
colors: {
  custom: {
    50: '#fbf0b6',
    500: '#f7ea96',
    950: '#000000',
  },
}
SCSS
$custom: #f7ea96;
$custom-light: #fbf0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ea96",
  "rgb": {
    "r": 247,
    "g": 234,
    "b": 150
  },
  "hsl": {
    "h": 51.959,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.92898,
    "c": 0.10539,
    "h": 100.6
  },
  "luminance": 0.80822
}

Semantic roles & 50–950 ramp

primary
#F7EA96
secondary
#5B6CD6
accent
#21E203
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F7EA96

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

Preview Lab → · Contrast checker → · Palette generator →

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