#F7F17E#F7F17E

#F7F17E is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 94.0% C 0.137 H 106.1°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#F7F17E
RGBrgb(247, 241, 126)
HSLhsl(57, 88%, 73%)
HSVhsv(57, 49%, 97%)
CMYKcmyk(0%, 2.4%, 49%, 3.1%)
CIE-LABlab(93.53, -13.03, 55.73)
CIE-LCHlch(93.53, 57.23, 103.16°)
OKLaboklab(93.97% -0.038 0.132)
OKLCHoklch(93.97% 0.137 106.1)
XYZxyz(73.5808, 84.1932, 32.1095)
Luminance0.8419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F17E #7E84F7
analogous
#F7B47E #F7F17E #C0F77E
triadic
#F7F17E #7EF7F1 #F17EF7
tetradic
#F7F17E #7EF7B4 #7E84F7 #F77EC0
square
#F7F17E #7EF7B4 #7E84F7 #F77EC0
split-complementary
#F7F17E #7EC0F7 #B47EF7
monochromatic
#ECE10F #F3EB44 #F7F17E #FBF7B8 #FDFCE2

Accessibility & contrast

On white

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

On black

17.84
#F7F17E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F17E
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F17E#FFFFFF#000000##000000
##F7F17E1.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f17e;
/* rgb */ color: rgb(247, 241, 126);
/* oklch */ color: oklch(94.0% 0.137 106.1);
Tailwind
colors: {
  custom: {
    50: '#fcf5a6',
    500: '#f7f17e',
    950: '#000000',
  },
}
SCSS
$custom: #f7f17e;
$custom-light: #fcf5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f17e",
  "rgb": {
    "r": 247,
    "g": 241,
    "b": 126
  },
  "hsl": {
    "h": 57.025,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93974,
    "c": 0.13733,
    "h": 106.1
  },
  "luminance": 0.84191
}

Semantic roles & 50–950 ramp

primary
#F7F17E
secondary
#464DD3
accent
#0CE501
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F17E

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

Preview Lab → · Contrast checker → · Palette generator →

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