#F7F177#F7F177

#F7F177 is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.9% C 0.144 H 106.3°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#F7F177
RGBrgb(247, 241, 119)
HSLhsl(57, 89%, 72%)
HSVhsv(57, 52%, 97%)
CMYKcmyk(0%, 2.4%, 51.8%, 3.1%)
CIE-LABlab(93.46, -13.61, 58.85)
CIE-LCHlch(93.46, 60.40, 103.02°)
OKLaboklab(93.89% -0.0404 0.1381)
OKLCHoklch(93.89% 0.144 106.3)
XYZxyz(73.1448, 84.0188, 29.8134)
Luminance0.8402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F177 #777DF7
analogous
#F7B177 #F7F177 #BDF777
triadic
#F7F177 #77F7F1 #F177F7
tetradic
#F7F177 #77F7B1 #777DF7 #F777BD
square
#F7F177 #77F7B1 #777DF7 #F777BD
split-complementary
#F7F177 #77BDF7 #B177F7
monochromatic
#E6DC0E #F4EB3D #F7F177 #FAF7B1 #FDFCE2

Accessibility & contrast

On white

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

On black

17.80
#F7F177 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F177
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F177#FFFFFF#000000##000000
##F7F1771.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96B
Deuteranopia (green-blind)
#FFEF7D
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7f177;
/* rgb */ color: rgb(247, 241, 119);
/* oklch */ color: oklch(93.9% 0.144 106.3);
Tailwind
colors: {
  custom: {
    50: '#fcf5a1',
    500: '#f7f177',
    950: '#000000',
  },
}
SCSS
$custom: #f7f177;
$custom-light: #fcf5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f177",
  "rgb": {
    "r": 247,
    "g": 241,
    "b": 119
  },
  "hsl": {
    "h": 57.188,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.93889,
    "c": 0.14392,
    "h": 106.3
  },
  "luminance": 0.84017
}

Semantic roles & 50–950 ramp

primary
#F7F177
secondary
#4047D2
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F177

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

Preview Lab → · Contrast checker → · Palette generator →

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