#F8F76E#F8F76E

#F8F76E is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.1% C 0.158 H 108.7°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#F8F76E
RGBrgb(248, 247, 110)
HSLhsl(60, 91%, 70%)
HSVhsv(60, 56%, 97%)
CMYKcmyk(0%, 0.4%, 55.6%, 2.7%)
CIE-LABlab(94.99, -16.82, 64.61)
CIE-LCHlch(94.99, 66.77, 104.59°)
OKLaboklab(95.1% -0.0505 0.1496)
OKLCHoklch(95.1% 0.158 108.7)
XYZxyz(74.7887, 87.6058, 27.7188)
Luminance0.8760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F76E #6E6FF8
analogous
#F8B26E #F8F76E #B4F86E
triadic
#F8F76E #6EF8F7 #F76EF8
tetradic
#F8F76E #6EF8B2 #6E6FF8 #F86EB4
square
#F8F76E #6EF8B2 #6E6FF8 #F86EB4
split-complementary
#F8F76E #6EB4F8 #B26EF8
monochromatic
#E1DF0B #F5F434 #F8F76E #FBFAA8 #FEFDE2

Accessibility & contrast

On white

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

On black

18.52
#F8F76E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F76E
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F76E#FFFFFF#000000##000000
##F8F76E1.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5F
Deuteranopia (green-blind)
#FFF376
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f76e;
/* rgb */ color: rgb(248, 247, 110);
/* oklch */ color: oklch(95.1% 0.158 108.7);
Tailwind
colors: {
  custom: {
    50: '#fdf99c',
    500: '#f8f76e',
    950: '#000000',
  },
}
SCSS
$custom: #f8f76e;
$custom-light: #fdf99c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f76e",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 110
  },
  "hsl": {
    "h": 59.565,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.95103,
    "c": 0.15787,
    "h": 108.7
  },
  "luminance": 0.87604
}

Semantic roles & 50–950 ramp

primary
#F8F76E
secondary
#3839D3
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F76E

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

Preview Lab → · Contrast checker → · Palette generator →

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