#F7F478#F7F478

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

Color values

HEX#F7F478
RGBrgb(247, 244, 120)
HSLhsl(59, 89%, 72%)
HSVhsv(59, 51%, 97%)
CMYKcmyk(0%, 1.2%, 51.4%, 3.1%)
CIE-LABlab(94.24, -14.99, 59.31)
CIE-LCHlch(94.24, 61.18, 104.19°)
OKLaboklab(94.52% -0.0443 0.1392)
OKLCHoklch(94.52% 0.146 107.6)
XYZxyz(74.1005, 85.8336, 30.4298)
Luminance0.8583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F478 #787BF7
analogous
#F7B578 #F7F478 #BAF778
triadic
#F7F478 #78F7F4 #F478F7
tetradic
#F7F478 #78F7B5 #787BF7 #F778BA
square
#F7F478 #78F7B5 #787BF7 #F778BA
split-complementary
#F7F478 #78BAF7 #B578F7
monochromatic
#E7E20E #F4EF3E #F7F478 #FAF9B2 #FDFDE2

Accessibility & contrast

On white

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

On black

18.17
#F7F478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F478
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F478#FFFFFF#000000##000000
##F7F4781.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f478;
/* rgb */ color: rgb(247, 244, 120);
/* oklch */ color: oklch(94.5% 0.146 107.6);
Tailwind
colors: {
  custom: {
    50: '#fcf7a2',
    500: '#f7f478',
    950: '#000000',
  },
}
SCSS
$custom: #f7f478;
$custom-light: #fcf7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f478",
  "rgb": {
    "r": 247,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 58.583,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94515,
    "c": 0.14609,
    "h": 107.6
  },
  "luminance": 0.85832
}

Semantic roles & 50–950 ramp

primary
#F7F478
secondary
#4144D3
accent
#05E500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F478

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

Preview Lab → · Contrast checker → · Palette generator →

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