#F7E970#F7E970

#F7E970 is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 92.2% C 0.142 H 102.7°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#F7E970
RGBrgb(247, 233, 112)
HSLhsl(54, 89%, 70%)
HSVhsv(54, 55%, 97%)
CMYKcmyk(0%, 5.7%, 54.7%, 3.1%)
CIE-LABlab(91.34, -10.21, 59.55)
CIE-LCHlch(91.34, 60.42, 99.73°)
OKLaboklab(92.18% -0.0314 0.1389)
OKLCHoklch(92.18% 0.142 102.7)
XYZxyz(70.4236, 79.2243, 26.9083)
Luminance0.7922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E970 #707EF7
analogous
#F7A670 #F7E970 #C1F770
triadic
#F7E970 #70F7E9 #E970F7
tetradic
#F7E970 #70F7A6 #707EF7 #F770C1
square
#F7E970 #70F7A6 #707EF7 #F770C1
split-complementary
#F7E970 #70C1F7 #A670F7
monochromatic
#E0CA0D #F4E036 #F7E970 #FAF2AA #FDFBE2

Accessibility & contrast

On white

1.25
#F7E970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.84
#F7E970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E970
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E970#FFFFFF#000000##000000
##F7E9701.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE264
Deuteranopia (green-blind)
#FFE976
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e970;
/* rgb */ color: rgb(247, 233, 112);
/* oklch */ color: oklch(92.2% 0.142 102.7);
Tailwind
colors: {
  custom: {
    50: '#fcef9c',
    500: '#f7e970',
    950: '#000000',
  },
}
SCSS
$custom: #f7e970;
$custom-light: #fcef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e970",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 112
  },
  "hsl": {
    "h": 53.778,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92179,
    "c": 0.14245,
    "h": 102.7
  },
  "luminance": 0.79222
}

Semantic roles & 50–950 ramp

primary
#F7E970
secondary
#3A49D2
accent
#18E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F7E970

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

Preview Lab → · Contrast checker → · Palette generator →

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