#F7F170#F7F170

#F7F170 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.8% C 0.150 H 106.5°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#F7F170
RGBrgb(247, 241, 112)
HSLhsl(57, 89%, 70%)
HSVhsv(57, 55%, 97%)
CMYKcmyk(0%, 2.4%, 54.7%, 3.1%)
CIE-LABlab(93.39, -14.15, 61.90)
CIE-LCHlch(93.39, 63.50, 102.88°)
OKLaboklab(93.81% -0.0427 0.144)
OKLCHoklch(93.81% 0.15 106.5)
XYZxyz(72.7398, 83.8568, 27.6804)
Luminance0.8386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F170 #7076F7
analogous
#F7AD70 #F7F170 #BAF770
triadic
#F7F170 #70F7F1 #F170F7
tetradic
#F7F170 #70F7AD #7076F7 #F770BA
square
#F7F170 #70F7AD #7076F7 #F770BA
split-complementary
#F7F170 #70BAF7 #AD70F7
monochromatic
#E0D70D #F4EB36 #F7F170 #FAF7AA #FDFCE2

Accessibility & contrast

On white

1.18
#F7F170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#F7F170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F170
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F170#FFFFFF#000000##000000
##F7F1701.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE963
Deuteranopia (green-blind)
#FFEF77
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7f170;
/* rgb */ color: rgb(247, 241, 112);
/* oklch */ color: oklch(93.8% 0.150 106.5);
Tailwind
colors: {
  custom: {
    50: '#fcf59d',
    500: '#f7f170',
    950: '#000000',
  },
}
SCSS
$custom: #f7f170;
$custom-light: #fcf59d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f170",
  "rgb": {
    "r": 247,
    "g": 241,
    "b": 112
  },
  "hsl": {
    "h": 57.333,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.93811,
    "c": 0.15018,
    "h": 106.5
  },
  "luminance": 0.83855
}

Semantic roles & 50–950 ramp

primary
#F7F170
secondary
#3A40D2
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F170

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

Preview Lab → · Contrast checker → · Palette generator →

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