#F7F181#F7F181

#F7F181 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 94.0% C 0.134 H 106.0°. Best body text is #000000 at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#F7F181
RGBrgb(247, 241, 129)
HSLhsl(57, 88%, 74%)
HSVhsv(57, 48%, 97%)
CMYKcmyk(0%, 2.4%, 47.8%, 3.1%)
CIE-LABlab(93.57, -12.76, 54.37)
CIE-LCHlch(93.57, 55.85, 103.21°)
OKLaboklab(94.01% -0.037 0.1292)
OKLCHoklch(94.01% 0.134 106)
XYZxyz(73.7773, 84.2718, 33.1443)
Luminance0.8427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F181 #8187F7
analogous
#F7B681 #F7F181 #C2F781
triadic
#F7F181 #81F7F1 #F181F7
tetradic
#F7F181 #81F7B6 #8187F7 #F781C2
square
#F7F181 #81F7B6 #8187F7 #F781C2
split-complementary
#F7F181 #81C2F7 #B681F7
monochromatic
#EEE30F #F3EB47 #F7F181 #FBF7BB #FDFCE2

Accessibility & contrast

On white

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

On black

17.85
#F7F181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F181
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F181#FFFFFF#000000##000000
##F7F1811.001.1817.8517.85
#FFFFFF1.181.0021.0021.00
#00000017.8521.001.001.00
##00000017.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA77
Deuteranopia (green-blind)
#FFEF86
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7f181;
/* rgb */ color: rgb(247, 241, 129);
/* oklch */ color: oklch(94.0% 0.134 106.0);
Tailwind
colors: {
  custom: {
    50: '#fcf5a8',
    500: '#f7f181',
    950: '#000000',
  },
}
SCSS
$custom: #f7f181;
$custom-light: #fcf5a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f181",
  "rgb": {
    "r": 247,
    "g": 241,
    "b": 129
  },
  "hsl": {
    "h": 56.949,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94012,
    "c": 0.13443,
    "h": 106
  },
  "luminance": 0.8427
}

Semantic roles & 50–950 ramp

primary
#F7F181
secondary
#4950D4
accent
#0CE501
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F181

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

Preview Lab → · Contrast checker → · Palette generator →

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