#F7D970#F7D970

#F7D970 is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 89.0% C 0.129 H 93.7°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#F7D970
RGBrgb(247, 217, 112)
HSLhsl(47, 89%, 70%)
HSVhsv(47, 55%, 97%)
CMYKcmyk(0%, 12.1%, 54.7%, 3.1%)
CIE-LABlab(87.28, -2.18, 54.84)
CIE-LCHlch(87.28, 54.88, 92.27°)
OKLaboklab(88.96% -0.0083 0.1287)
OKLCHoklch(88.96% 0.129 93.7)
XYZxyz(66.0978, 70.5728, 25.4664)
Luminance0.7057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D970 #708EF7
analogous
#F79670 #F7D970 #D1F770
triadic
#F7D970 #70F7D9 #D970F7
tetradic
#F7D970 #70F796 #708EF7 #F770D1
square
#F7D970 #70F796 #708EF7 #F770D1
split-complementary
#F7D970 #70D1F7 #9670F7
monochromatic
#E0B10D #F4CA36 #F7D970 #FAE8AA #FDF7E2

Accessibility & contrast

On white

1.39
#F7D970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.11
#F7D970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D970
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D970#FFFFFF#000000##000000
##F7D9701.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD566
Deuteranopia (green-blind)
#F4DF74
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f7d970;
/* rgb */ color: rgb(247, 217, 112);
/* oklch */ color: oklch(89.0% 0.129 93.7);
Tailwind
colors: {
  custom: {
    50: '#fce49c',
    500: '#f7d970',
    950: '#000000',
  },
}
SCSS
$custom: #f7d970;
$custom-light: #fce49c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d970",
  "rgb": {
    "r": 247,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 46.667,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88964,
    "c": 0.12901,
    "h": 93.7
  },
  "luminance": 0.7057
}

Semantic roles & 50–950 ramp

primary
#F7D970
secondary
#3A5BD2
accent
#33E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7D970

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

Preview Lab → · Contrast checker → · Palette generator →

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