#F7F86F#F7F86F

#F7F86F is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.2% C 0.158 H 109.4°. Best body text is #000000 at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#F7F86F
RGBrgb(247, 248, 111)
HSLhsl(60, 91%, 70%)
HSVhsv(60, 55%, 97%)
CMYKcmyk(0.4%, 0%, 55.2%, 2.7%)
CIE-LABlab(95.19, -17.63, 64.38)
CIE-LCHlch(95.19, 66.75, 105.31°)
OKLaboklab(95.24% -0.0527 0.1492)
OKLCHoklch(95.24% 0.158 109.4)
XYZxyz(74.7964, 88.0586, 28.0928)
Luminance0.8806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F86F #706FF8
analogous
#F8B46F #F7F86F #B2F86F
triadic
#F7F86F #6FF7F8 #F86FF7
tetradic
#F7F86F #6FF8B4 #706FF8 #F86FB2
square
#F7F86F #6FF8B4 #706FF8 #F86FB2
split-complementary
#F7F86F #6FB2F8 #B46FF8
monochromatic
#E0E20B #F4F535 #F7F86F #FAFBA9 #FDFEE2

Accessibility & contrast

On white

1.13
#F7F86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.61
#F7F86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F86F
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F86F#FFFFFF#000000##000000
##F7F86F1.001.1318.6118.61
#FFFFFF1.131.0021.0021.00
#00000018.6121.001.001.00
##00000018.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF61
Deuteranopia (green-blind)
#FFF377
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f7f86f;
/* rgb */ color: rgb(247, 248, 111);
/* oklch */ color: oklch(95.2% 0.158 109.4);
Tailwind
colors: {
  custom: {
    50: '#fcfa9d',
    500: '#f7f86f',
    950: '#000000',
  },
}
SCSS
$custom: #f7f86f;
$custom-light: #fcfa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f86f",
  "rgb": {
    "r": 247,
    "g": 248,
    "b": 111
  },
  "hsl": {
    "h": 60.438,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.95239,
    "c": 0.1582,
    "h": 109.4
  },
  "luminance": 0.88057
}

Semantic roles & 50–950 ramp

primary
#F7F86F
secondary
#3A38D3
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F86F

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

Preview Lab → · Contrast checker → · Palette generator →

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