#F7EF96#F7EF96

#F7EF96 is a very light, moderate yellow. Relative luminance 0.837; OKLCH L 93.9% C 0.111 H 103.9°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#F7EF96
RGBrgb(247, 239, 150)
HSLhsl(55, 86%, 78%)
HSVhsv(55, 39%, 97%)
CMYKcmyk(0%, 3.2%, 39.3%, 3.1%)
CIE-LABlab(93.32, -9.74, 43.99)
CIE-LCHlch(93.32, 45.05, 102.49°)
OKLaboklab(93.91% -0.0265 0.1073)
OKLCHoklch(93.91% 0.111 103.9)
XYZxyz(74.7306, 83.7111, 41.0695)
Luminance0.8371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EF96 #969EF7
analogous
#F7BF96 #F7EF96 #CEF796
triadic
#F7EF96 #96F7EF #EF96F7
tetradic
#F7EF96 #96F7BF #969EF7 #F796CE
square
#F7EF96 #96F7BF #969EF7 #F796CE
split-complementary
#F7EF96 #96CEF7 #BF96F7
monochromatic
#EEDE24 #F3E65D #F7EF96 #FBF8CF #FDFBE3

Accessibility & contrast

On white

1.18
#F7EF96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.74
#F7EF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EF96
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EF96#FFFFFF#000000##000000
##F7EF961.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE98F
Deuteranopia (green-blind)
#FFEE9A
Tritanopia (blue-blind)
#FFE4D9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7ef96;
/* rgb */ color: rgb(247, 239, 150);
/* oklch */ color: oklch(93.9% 0.111 103.9);
Tailwind
colors: {
  custom: {
    50: '#fbf4b6',
    500: '#f7ef96',
    950: '#000000',
  },
}
SCSS
$custom: #f7ef96;
$custom-light: #fbf4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ef96",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 150
  },
  "hsl": {
    "h": 55.052,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.93906,
    "c": 0.11054,
    "h": 103.9
  },
  "luminance": 0.83709
}

Semantic roles & 50–950 ramp

primary
#F7EF96
secondary
#5B65D6
accent
#16E203
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F7EF96

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

Preview Lab → · Contrast checker → · Palette generator →

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