#F7F96F#F7F96F

#F7F96F is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.4% C 0.159 H 109.8°. Best body text is #000000 at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#F7F96F
RGBrgb(247, 249, 111)
HSLhsl(61, 92%, 71%)
HSVhsv(61, 55%, 98%)
CMYKcmyk(0.8%, 0%, 55.4%, 2.4%)
CIE-LABlab(95.44, -18.11, 64.67)
CIE-LCHlch(95.44, 67.16, 105.65°)
OKLaboklab(95.45% -0.054 0.1498)
OKLCHoklch(95.45% 0.159 109.8)
XYZxyz(75.1047, 88.6751, 28.1955)
Luminance0.8867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F96F #716FF9
analogous
#F9B66F #F7F96F #B2F96F
triadic
#F7F96F #6FF7F9 #F96FF7
tetradic
#F7F96F #6FF9B6 #716FF9 #F96FB2
square
#F7F96F #6FF9B6 #716FF9 #F96FB2
split-complementary
#F7F96F #6FB2F9 #B66FF9
monochromatic
#E1E40A #F4F734 #F7F96F #FAFBAA #FDFEE2

Accessibility & contrast

On white

1.12
#F7F96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.73
#F7F96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F96F
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F96F#FFFFFF#000000##000000
##F7F96F1.001.1218.7318.73
#FFFFFF1.121.0021.0021.00
#00000018.7321.001.001.00
##00000018.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF60
Deuteranopia (green-blind)
#FFF477
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f7f96f;
/* rgb */ color: rgb(247, 249, 111);
/* oklch */ color: oklch(95.4% 0.159 109.8);
Tailwind
colors: {
  custom: {
    50: '#fcfb9d',
    500: '#f7f96f',
    950: '#000000',
  },
}
SCSS
$custom: #f7f96f;
$custom-light: #fcfb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f96f",
  "rgb": {
    "r": 247,
    "g": 249,
    "b": 111
  },
  "hsl": {
    "h": 60.87,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.95446,
    "c": 0.15925,
    "h": 109.8
  },
  "luminance": 0.88673
}

Semantic roles & 50–950 ramp

primary
#F7F96F
secondary
#3A38D4
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F96F

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

Preview Lab → · Contrast checker → · Palette generator →

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