#F7F476#F7F476

#F7F476 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.5% C 0.148 H 107.7°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#F7F476
RGBrgb(247, 244, 118)
HSLhsl(59, 89%, 72%)
HSVhsv(59, 52%, 97%)
CMYKcmyk(0%, 1.2%, 52.2%, 3.1%)
CIE-LABlab(94.22, -15.15, 60.19)
CIE-LCHlch(94.22, 62.07, 104.13°)
OKLaboklab(94.49% -0.0449 0.1409)
OKLCHoklch(94.49% 0.148 107.7)
XYZxyz(73.9804, 85.7855, 29.7972)
Luminance0.8578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F476 #7679F7
analogous
#F7B476 #F7F476 #BAF776
triadic
#F7F476 #76F7F4 #F476F7
tetradic
#F7F476 #76F7B4 #7679F7 #F776BA
square
#F7F476 #76F7B4 #7679F7 #F776BA
split-complementary
#F7F476 #76BAF7 #B476F7
monochromatic
#E5E00D #F4EF3C #F7F476 #FAF9B0 #FDFDE2

Accessibility & contrast

On white

1.16
#F7F476 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.16
#F7F476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F476
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F476#FFFFFF#000000##000000
##F7F4761.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6A
Deuteranopia (green-blind)
#FFF17D
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f7f476;
/* rgb */ color: rgb(247, 244, 118);
/* oklch */ color: oklch(94.5% 0.148 107.7);
Tailwind
colors: {
  custom: {
    50: '#fcf7a1',
    500: '#f7f476',
    950: '#000000',
  },
}
SCSS
$custom: #f7f476;
$custom-light: #fcf7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f476",
  "rgb": {
    "r": 247,
    "g": 244,
    "b": 118
  },
  "hsl": {
    "h": 58.605,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94492,
    "c": 0.14791,
    "h": 107.7
  },
  "luminance": 0.85784
}

Semantic roles & 50–950 ramp

primary
#F7F476
secondary
#3F42D2
accent
#05E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F476

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

Preview Lab → · Contrast checker → · Palette generator →

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