#F8F760#F8F760

#F8F760 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.0% C 0.169 H 108.9°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#F8F760
RGBrgb(248, 247, 96)
HSLhsl(60, 92%, 67%)
HSVhsv(60, 61%, 97%)
CMYKcmyk(0%, 0.4%, 61.3%, 2.7%)
CIE-LABlab(94.88, -17.76, 70.32)
CIE-LCHlch(94.88, 72.53, 104.17°)
OKLaboklab(94.97% -0.0546 0.1599)
OKLCHoklch(94.97% 0.169 108.9)
XYZxyz(74.0858, 87.3246, 24.0168)
Luminance0.8732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F760 #6061F8
analogous
#F8AB60 #F8F760 #ADF860
triadic
#F8F760 #60F8F7 #F760F8
tetradic
#F8F760 #60F8AB #6061F8 #F860AD
square
#F8F760 #60F8AB #6061F8 #F860AD
split-complementary
#F8F760 #60ADF8 #AB60F8
monochromatic
#D4D309 #F5F425 #F8F760 #FBFA9B #FDFDD5

Accessibility & contrast

On white

1.14
#F8F760 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#F8F760 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F760
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F760#FFFFFF#000000##000000
##F8F7601.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED4D
Deuteranopia (green-blind)
#FFF369
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f760;
/* rgb */ color: rgb(248, 247, 96);
/* oklch */ color: oklch(95.0% 0.169 108.9);
Tailwind
colors: {
  custom: {
    50: '#fef993',
    500: '#f8f760',
    950: '#000000',
  },
}
SCSS
$custom: #f8f760;
$custom-light: #fef993;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f760",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 96
  },
  "hsl": {
    "h": 59.605,
    "s": 91.566,
    "l": 67.451
  },
  "oklch": {
    "l": 0.9497,
    "c": 0.169,
    "h": 108.9
  },
  "luminance": 0.87323
}

Semantic roles & 50–950 ramp

primary
#F8F760
secondary
#2D2ECF
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F760

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

Preview Lab → · Contrast checker → · Palette generator →

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