#F7F860#F7F860

#F7F860 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.1% C 0.170 H 109.6°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#F7F860
RGBrgb(247, 248, 96)
HSLhsl(60, 92%, 67%)
HSVhsv(60, 61%, 97%)
CMYKcmyk(0.4%, 0%, 61.3%, 2.7%)
CIE-LABlab(95.06, -18.64, 70.49)
CIE-LCHlch(95.06, 72.92, 104.81°)
OKLaboklab(95.1% -0.0571 0.1603)
OKLCHoklch(95.1% 0.17 109.6)
XYZxyz(74.0388, 87.7555, 24.1024)
Luminance0.8775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F860 #6160F8
analogous
#F8AD60 #F7F860 #ABF860
triadic
#F7F860 #60F7F8 #F860F7
tetradic
#F7F860 #60F8AD #6160F8 #F860AB
square
#F7F860 #60F8AD #6160F8 #F860AB
split-complementary
#F7F860 #60ABF8 #AD60F8
monochromatic
#D3D409 #F4F525 #F7F860 #FAFB9B #FDFDD5

Accessibility & contrast

On white

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

On black

18.55
#F7F860 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F860
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F860#FFFFFF#000000##000000
##F7F8601.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE4D
Deuteranopia (green-blind)
#FFF369
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f7f860;
/* rgb */ color: rgb(247, 248, 96);
/* oklch */ color: oklch(95.1% 0.170 109.6);
Tailwind
colors: {
  custom: {
    50: '#fdfa94',
    500: '#f7f860',
    950: '#000000',
  },
}
SCSS
$custom: #f7f860;
$custom-light: #fdfa94;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f860",
  "rgb": {
    "r": 247,
    "g": 248,
    "b": 96
  },
  "hsl": {
    "h": 60.395,
    "s": 91.566,
    "l": 67.451
  },
  "oklch": {
    "l": 0.95097,
    "c": 0.17016,
    "h": 109.6
  },
  "luminance": 0.87753
}

Semantic roles & 50–950 ramp

primary
#F7F860
secondary
#2E2DCF
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F860

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

Preview Lab → · Contrast checker → · Palette generator →

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