#F7F86A#F7F86A

#F7F86A is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.2% C 0.162 H 109.5°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#F7F86A
RGBrgb(247, 248, 106)
HSLhsl(60, 91%, 69%)
HSVhsv(60, 57%, 97%)
CMYKcmyk(0.4%, 0%, 57.3%, 2.7%)
CIE-LABlab(95.14, -17.99, 66.46)
CIE-LCHlch(95.14, 68.85, 105.14°)
OKLaboklab(95.19% -0.0542 0.1531)
OKLCHoklch(95.19% 0.162 109.5)
XYZxyz(74.5288, 87.9515, 26.6832)
Luminance0.8795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F86A #6B6AF8
analogous
#F8B26A #F7F86A #B0F86A
triadic
#F7F86A #6AF7F8 #F86AF7
tetradic
#F7F86A #6AF8B2 #6B6AF8 #F86AB0
square
#F7F86A #6AF8B2 #6B6AF8 #F86AB0
split-complementary
#F7F86A #6AB0F8 #B26AF8
monochromatic
#DCDD0A #F4F530 #F7F86A #FAFBA4 #FDFDDF

Accessibility & contrast

On white

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

On black

18.59
#F7F86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F86A
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F86A#FFFFFF#000000##000000
##F7F86A1.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5A
Deuteranopia (green-blind)
#FFF372
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f7f86a;
/* rgb */ color: rgb(247, 248, 106);
/* oklch */ color: oklch(95.2% 0.162 109.5);
Tailwind
colors: {
  custom: {
    50: '#fdfa9a',
    500: '#f7f86a',
    950: '#000000',
  },
}
SCSS
$custom: #f7f86a;
$custom-light: #fdfa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f86a",
  "rgb": {
    "r": 247,
    "g": 248,
    "b": 106
  },
  "hsl": {
    "h": 60.423,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.95189,
    "c": 0.16236,
    "h": 109.5
  },
  "luminance": 0.8795
}

Semantic roles & 50–950 ramp

primary
#F7F86A
secondary
#3534D2
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F86A

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

Preview Lab → · Contrast checker → · Palette generator →

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