#F7F86E#F7F86E

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

Color values

HEX#F7F86E
RGBrgb(247, 248, 110)
HSLhsl(60, 91%, 70%)
HSVhsv(60, 56%, 97%)
CMYKcmyk(0.4%, 0%, 55.6%, 2.7%)
CIE-LABlab(95.18, -17.70, 64.80)
CIE-LCHlch(95.18, 67.17, 105.28°)
OKLaboklab(95.23% -0.053 0.15)
OKLCHoklch(95.23% 0.159 109.5)
XYZxyz(74.7417, 88.0367, 27.8044)
Luminance0.8803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F86E #6F6EF8
analogous
#F8B46E #F7F86E #B2F86E
triadic
#F7F86E #6EF7F8 #F86EF7
tetradic
#F7F86E #6EF8B4 #6F6EF8 #F86EB2
square
#F7F86E #6EF8B4 #6F6EF8 #F86EB2
split-complementary
#F7F86E #6EB2F8 #B46EF8
monochromatic
#DFE10B #F4F534 #F7F86E #FAFBA8 #FDFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7F86E#FFFFFF#000000##000000
##F7F86E1.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)
#FFEF5F
Deuteranopia (green-blind)
#FFF376
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f7f86e;
/* rgb */ color: rgb(247, 248, 110);
/* oklch */ color: oklch(95.2% 0.159 109.5);
Tailwind
colors: {
  custom: {
    50: '#fdfa9c',
    500: '#f7f86e',
    950: '#000000',
  },
}
SCSS
$custom: #f7f86e;
$custom-light: #fdfa9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f86e",
  "rgb": {
    "r": 247,
    "g": 248,
    "b": 110
  },
  "hsl": {
    "h": 60.435,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.95229,
    "c": 0.15905,
    "h": 109.5
  },
  "luminance": 0.88035
}

Semantic roles & 50–950 ramp

primary
#F7F86E
secondary
#3938D3
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F86E

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

Preview Lab → · Contrast checker → · Palette generator →

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