#F7F17C#F7F17C

#F7F17C is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.9% C 0.139 H 106.1°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#F7F17C
RGBrgb(247, 241, 124)
HSLhsl(57, 88%, 73%)
HSVhsv(57, 50%, 97%)
CMYKcmyk(0%, 2.4%, 49.8%, 3.1%)
CIE-LABlab(93.51, -13.20, 56.63)
CIE-LCHlch(93.51, 58.14, 103.12°)
OKLaboklab(93.95% -0.0387 0.1338)
OKLCHoklch(93.95% 0.139 106.1)
XYZxyz(73.4530, 84.1421, 31.4366)
Luminance0.8414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F17C #7C82F7
analogous
#F7B37C #F7F17C #C0F77C
triadic
#F7F17C #7CF7F1 #F17CF7
tetradic
#F7F17C #7CF7B3 #7C82F7 #F77CC0
square
#F7F17C #7CF7B3 #7C82F7 #F77CC0
split-complementary
#F7F17C #7CC0F7 #B37CF7
monochromatic
#EAE00E #F3EB42 #F7F17C #FBF7B6 #FDFCE2

Accessibility & contrast

On white

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

On black

17.83
#F7F17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F17C
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F17C#FFFFFF#000000##000000
##F7F17C1.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE971
Deuteranopia (green-blind)
#FFEF82
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7f17c;
/* rgb */ color: rgb(247, 241, 124);
/* oklch */ color: oklch(93.9% 0.139 106.1);
Tailwind
colors: {
  custom: {
    50: '#fcf5a5',
    500: '#f7f17c',
    950: '#000000',
  },
}
SCSS
$custom: #f7f17c;
$custom-light: #fcf5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f17c",
  "rgb": {
    "r": 247,
    "g": 241,
    "b": 124
  },
  "hsl": {
    "h": 57.073,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93949,
    "c": 0.13924,
    "h": 106.1
  },
  "luminance": 0.8414
}

Semantic roles & 50–950 ramp

primary
#F7F17C
secondary
#444BD3
accent
#0CE500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F17C

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

Preview Lab → · Contrast checker → · Palette generator →

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