#F7F470#F7F470

#F7F470 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.4% C 0.153 H 107.8°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#F7F470
RGBrgb(247, 244, 112)
HSLhsl(59, 89%, 70%)
HSVhsv(59, 55%, 97%)
CMYKcmyk(0%, 1.2%, 54.7%, 3.1%)
CIE-LABlab(94.16, -15.62, 62.78)
CIE-LCHlch(94.16, 64.70, 103.97°)
OKLaboklab(94.43% -0.0468 0.1459)
OKLCHoklch(94.43% 0.153 107.8)
XYZxyz(73.6352, 85.6474, 27.9788)
Luminance0.8565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F470 #7073F7
analogous
#F7B170 #F7F470 #B6F770
triadic
#F7F470 #70F7F4 #F470F7
tetradic
#F7F470 #70F7B1 #7073F7 #F770B6
square
#F7F470 #70F7B1 #7073F7 #F770B6
split-complementary
#F7F470 #70B6F7 #B170F7
monochromatic
#E0DB0D #F4F036 #F7F470 #FAF8AA #FDFDE2

Accessibility & contrast

On white

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

On black

18.13
#F7F470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F470
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F470#FFFFFF#000000##000000
##F7F4701.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB62
Deuteranopia (green-blind)
#FFF177
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f7f470;
/* rgb */ color: rgb(247, 244, 112);
/* oklch */ color: oklch(94.4% 0.153 107.8);
Tailwind
colors: {
  custom: {
    50: '#fcf79d',
    500: '#f7f470',
    950: '#000000',
  },
}
SCSS
$custom: #f7f470;
$custom-light: #fcf79d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f470",
  "rgb": {
    "r": 247,
    "g": 244,
    "b": 112
  },
  "hsl": {
    "h": 58.667,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.94426,
    "c": 0.15322,
    "h": 107.8
  },
  "luminance": 0.85645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7F470

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

Preview Lab → · Contrast checker → · Palette generator →

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