#F7F17A#F7F17A

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

Color values

HEX#F7F17A
RGBrgb(247, 241, 122)
HSLhsl(57, 89%, 72%)
HSVhsv(57, 51%, 97%)
CMYKcmyk(0%, 2.4%, 50.6%, 3.1%)
CIE-LABlab(93.49, -13.36, 57.52)
CIE-LCHlch(93.49, 59.05, 103.08°)
OKLaboklab(93.93% -0.0394 0.1355)
OKLCHoklch(93.93% 0.141 106.2)
XYZxyz(73.3278, 84.0920, 30.7773)
Luminance0.8409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F17A #7A80F7
analogous
#F7B37A #F7F17A #BFF77A
triadic
#F7F17A #7AF7F1 #F17AF7
tetradic
#F7F17A #7AF7B3 #7A80F7 #F77ABF
square
#F7F17A #7AF7B3 #7A80F7 #F77ABF
split-complementary
#F7F17A #7ABFF7 #B37AF7
monochromatic
#E9DE0E #F4EB40 #F7F17A #FAF7B4 #FDFCE2

Accessibility & contrast

On white

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

On black

17.82
#F7F17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F17A
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F17A#FFFFFF#000000##000000
##F7F17A1.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f17a;
/* rgb */ color: rgb(247, 241, 122);
/* oklch */ color: oklch(93.9% 0.141 106.2);
Tailwind
colors: {
  custom: {
    50: '#fcf5a3',
    500: '#f7f17a',
    950: '#000000',
  },
}
SCSS
$custom: #f7f17a;
$custom-light: #fcf5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f17a",
  "rgb": {
    "r": 247,
    "g": 241,
    "b": 122
  },
  "hsl": {
    "h": 57.12,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.93925,
    "c": 0.14113,
    "h": 106.2
  },
  "luminance": 0.8409
}

Semantic roles & 50–950 ramp

primary
#F7F17A
secondary
#4249D3
accent
#0BE500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F17A

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

Preview Lab → · Contrast checker → · Palette generator →

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