#F7F86C#F7F86C

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

Color values

HEX#F7F86C
RGBrgb(247, 248, 108)
HSLhsl(60, 91%, 70%)
HSVhsv(60, 56%, 97%)
CMYKcmyk(0.4%, 0%, 56.5%, 2.7%)
CIE-LABlab(95.16, -17.85, 65.63)
CIE-LCHlch(95.16, 68.02, 105.21°)
OKLaboklab(95.21% -0.0536 0.1515)
OKLCHoklch(95.21% 0.161 109.5)
XYZxyz(74.6340, 87.9936, 27.2374)
Luminance0.8799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F86C #6D6CF8
analogous
#F8B36C #F7F86C #B1F86C
triadic
#F7F86C #6CF7F8 #F86CF7
tetradic
#F7F86C #6CF8B3 #6D6CF8 #F86CB1
square
#F7F86C #6CF8B3 #6D6CF8 #F86CB1
split-complementary
#F7F86C #6CB1F8 #B36CF8
monochromatic
#DDDF0B #F4F532 #F7F86C #FAFBA6 #FDFEE1

Accessibility & contrast

On white

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

On black

18.60
#F7F86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F86C
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F86C#FFFFFF#000000##000000
##F7F86C1.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f86c;
/* rgb */ color: rgb(247, 248, 108);
/* oklch */ color: oklch(95.2% 0.161 109.5);
Tailwind
colors: {
  custom: {
    50: '#fdfa9b',
    500: '#f7f86c',
    950: '#000000',
  },
}
SCSS
$custom: #f7f86c;
$custom-light: #fdfa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f86c",
  "rgb": {
    "r": 247,
    "g": 248,
    "b": 108
  },
  "hsl": {
    "h": 60.429,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.95209,
    "c": 0.16072,
    "h": 109.5
  },
  "luminance": 0.87992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7F86C

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

Preview Lab → · Contrast checker → · Palette generator →

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