#F7F176#F7F176

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

Color values

HEX#F7F176
RGBrgb(247, 241, 118)
HSLhsl(57, 89%, 72%)
HSVhsv(57, 52%, 97%)
CMYKcmyk(0%, 2.4%, 52.2%, 3.1%)
CIE-LABlab(93.45, -13.69, 59.29)
CIE-LCHlch(93.45, 60.85, 103.00°)
OKLaboklab(93.88% -0.0407 0.139)
OKLCHoklch(93.88% 0.145 106.3)
XYZxyz(73.0851, 83.9949, 29.4988)
Luminance0.8399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F176 #767CF7
analogous
#F7B176 #F7F176 #BDF776
triadic
#F7F176 #76F7F1 #F176F7
tetradic
#F7F176 #76F7B1 #767CF7 #F776BD
square
#F7F176 #76F7B1 #767CF7 #F776BD
split-complementary
#F7F176 #76BDF7 #B176F7
monochromatic
#E5DB0D #F4EB3C #F7F176 #FAF7B0 #FDFCE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7F176#FFFFFF#000000##000000
##F7F1761.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)
#FFE96A
Deuteranopia (green-blind)
#FFEF7C
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7f176;
/* rgb */ color: rgb(247, 241, 118);
/* oklch */ color: oklch(93.9% 0.145 106.3);
Tailwind
colors: {
  custom: {
    50: '#fcf5a1',
    500: '#f7f176',
    950: '#000000',
  },
}
SCSS
$custom: #f7f176;
$custom-light: #fcf5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f176",
  "rgb": {
    "r": 247,
    "g": 241,
    "b": 118
  },
  "hsl": {
    "h": 57.209,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93878,
    "c": 0.14483,
    "h": 106.3
  },
  "luminance": 0.83993
}

Semantic roles & 50–950 ramp

primary
#F7F176
secondary
#3F46D2
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F176

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

Preview Lab → · Contrast checker → · Palette generator →

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