#F7F486#F7F486

#F7F486 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.7% C 0.133 H 107.3°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#F7F486
RGBrgb(247, 244, 134)
HSLhsl(58, 88%, 75%)
HSVhsv(58, 46%, 97%)
CMYKcmyk(0%, 1.2%, 45.7%, 3.1%)
CIE-LABlab(94.40, -13.79, 53.03)
CIE-LCHlch(94.40, 54.79, 104.57°)
OKLaboklab(94.69% -0.0394 0.1267)
OKLCHoklch(94.69% 0.133 107.3)
XYZxyz(75.0131, 86.1986, 35.2361)
Luminance0.8620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F486 #8689F7
analogous
#F7BC86 #F7F486 #C2F786
triadic
#F7F486 #86F7F4 #F486F7
tetradic
#F7F486 #86F7BC #8689F7 #F786C2
square
#F7F486 #86F7BC #8689F7 #F786C2
split-complementary
#F7F486 #86C2F7 #BC86F7
monochromatic
#EFEA13 #F3EF4D #F7F486 #FBF9BF #FDFCE2

Accessibility & contrast

On white

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

On black

18.24
#F7F486 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F486
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F486#FFFFFF#000000##000000
##F7F4861.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7D
Deuteranopia (green-blind)
#FFF18B
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f7f486;
/* rgb */ color: rgb(247, 244, 134);
/* oklch */ color: oklch(94.7% 0.133 107.3);
Tailwind
colors: {
  custom: {
    50: '#fcf7ab',
    500: '#f7f486',
    950: '#000000',
  },
}
SCSS
$custom: #f7f486;
$custom-light: #fcf7ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f486",
  "rgb": {
    "r": 247,
    "g": 244,
    "b": 134
  },
  "hsl": {
    "h": 58.407,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.9469,
    "c": 0.13266,
    "h": 107.3
  },
  "luminance": 0.86197
}

Semantic roles & 50–950 ramp

primary
#F7F486
secondary
#4D51D4
accent
#07E401
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F486

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

Preview Lab → · Contrast checker → · Palette generator →

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