#F7F477#F7F477

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

Color values

HEX#F7F477
RGBrgb(247, 244, 119)
HSLhsl(59, 89%, 72%)
HSVhsv(59, 52%, 97%)
CMYKcmyk(0%, 1.2%, 51.8%, 3.1%)
CIE-LABlab(94.23, -15.07, 59.75)
CIE-LCHlch(94.23, 61.62, 104.16°)
OKLaboklab(94.5% -0.0446 0.1401)
OKLCHoklch(94.5% 0.147 107.7)
XYZxyz(74.0402, 85.8094, 30.1118)
Luminance0.8581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F477 #777AF7
analogous
#F7B477 #F7F477 #BAF777
triadic
#F7F477 #77F7F4 #F477F7
tetradic
#F7F477 #77F7B4 #777AF7 #F777BA
square
#F7F477 #77F7B4 #777AF7 #F777BA
split-complementary
#F7F477 #77BAF7 #B477F7
monochromatic
#E6E10E #F4EF3D #F7F477 #FAF9B1 #FDFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7F477#FFFFFF#000000##000000
##F7F4771.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)
#FFEC6B
Deuteranopia (green-blind)
#FFF17D
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f7f477;
/* rgb */ color: rgb(247, 244, 119);
/* oklch */ color: oklch(94.5% 0.147 107.7);
Tailwind
colors: {
  custom: {
    50: '#fcf7a1',
    500: '#f7f477',
    950: '#000000',
  },
}
SCSS
$custom: #f7f477;
$custom-light: #fcf7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f477",
  "rgb": {
    "r": 247,
    "g": 244,
    "b": 119
  },
  "hsl": {
    "h": 58.594,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.94504,
    "c": 0.147,
    "h": 107.7
  },
  "luminance": 0.85807
}

Semantic roles & 50–950 ramp

primary
#F7F477
secondary
#4043D2
accent
#05E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F477

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

Preview Lab → · Contrast checker → · Palette generator →

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