#F7F970#F7F970

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

Color values

HEX#F7F970
RGBrgb(247, 249, 112)
HSLhsl(61, 92%, 71%)
HSVhsv(61, 55%, 98%)
CMYKcmyk(0.8%, 0%, 55%, 2.4%)
CIE-LABlab(95.45, -18.04, 64.25)
CIE-LCHlch(95.45, 66.73, 105.68°)
OKLaboklab(95.46% -0.0537 0.149)
OKLCHoklch(95.46% 0.158 109.8)
XYZxyz(75.1601, 88.6972, 28.4871)
Luminance0.8870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F970 #7270F9
analogous
#F9B670 #F7F970 #B2F970
triadic
#F7F970 #70F7F9 #F970F7
tetradic
#F7F970 #70F9B6 #7270F9 #F970B2
square
#F7F970 #70F9B6 #7270F9 #F970B2
split-complementary
#F7F970 #70B2F9 #B670F9
monochromatic
#E2E50A #F4F735 #F7F970 #FAFBAB #FDFEE2

Accessibility & contrast

On white

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

On black

18.74
#F7F970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F970
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F970#FFFFFF#000000##000000
##F7F9701.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f970;
/* rgb */ color: rgb(247, 249, 112);
/* oklch */ color: oklch(95.5% 0.158 109.8);
Tailwind
colors: {
  custom: {
    50: '#fcfb9d',
    500: '#f7f970',
    950: '#000000',
  },
}
SCSS
$custom: #f7f970;
$custom-light: #fcfb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f970",
  "rgb": {
    "r": 247,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 60.876,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95456,
    "c": 0.1584,
    "h": 109.8
  },
  "luminance": 0.88695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7F970

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

Preview Lab → · Contrast checker → · Palette generator →

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