#F7F481#F7F481

#F7F481 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.6% C 0.138 H 107.4°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#F7F481
RGBrgb(247, 244, 129)
HSLhsl(58, 88%, 74%)
HSVhsv(58, 48%, 97%)
CMYKcmyk(0%, 1.2%, 47.8%, 3.1%)
CIE-LABlab(94.34, -14.23, 55.30)
CIE-LCHlch(94.34, 57.10, 104.44°)
OKLaboklab(94.63% -0.0412 0.1313)
OKLCHoklch(94.63% 0.138 107.4)
XYZxyz(74.6726, 86.0624, 33.4428)
Luminance0.8606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F481 #8184F7
analogous
#F7B981 #F7F481 #BFF781
triadic
#F7F481 #81F7F4 #F481F7
tetradic
#F7F481 #81F7B9 #8184F7 #F781BF
square
#F7F481 #81F7B9 #8184F7 #F781BF
split-complementary
#F7F481 #81BFF7 #B981F7
monochromatic
#EEE90F #F3EF47 #F7F481 #FBF9BB #FDFCE2

Accessibility & contrast

On white

1.15
#F7F481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.21
#F7F481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F481
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F481#FFFFFF#000000##000000
##F7F4811.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC77
Deuteranopia (green-blind)
#FFF187
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f7f481;
/* rgb */ color: rgb(247, 244, 129);
/* oklch */ color: oklch(94.6% 0.138 107.4);
Tailwind
colors: {
  custom: {
    50: '#fcf7a8',
    500: '#f7f481',
    950: '#000000',
  },
}
SCSS
$custom: #f7f481;
$custom-light: #fcf7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f481",
  "rgb": {
    "r": 247,
    "g": 244,
    "b": 129
  },
  "hsl": {
    "h": 58.475,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94625,
    "c": 0.13758,
    "h": 107.4
  },
  "luminance": 0.86061
}

Semantic roles & 50–950 ramp

primary
#F7F481
secondary
#494CD4
accent
#07E501
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F481

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

Preview Lab → · Contrast checker → · Palette generator →

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