#F8F76D#F8F76D

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

Color values

HEX#F8F76D
RGBrgb(248, 247, 109)
HSLhsl(60, 91%, 70%)
HSVhsv(60, 56%, 97%)
CMYKcmyk(0%, 0.4%, 56%, 2.7%)
CIE-LABlab(94.99, -16.89, 65.03)
CIE-LCHlch(94.99, 67.19, 104.56°)
OKLaboklab(95.09% -0.0508 0.1503)
OKLCHoklch(95.09% 0.159 108.7)
XYZxyz(74.7346, 87.5841, 27.4337)
Luminance0.8758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F76D #6D6EF8
analogous
#F8B16D #F8F76D #B4F86D
triadic
#F8F76D #6DF8F7 #F76DF8
tetradic
#F8F76D #6DF8B1 #6D6EF8 #F86DB4
square
#F8F76D #6DF8B1 #6D6EF8 #F86DB4
split-complementary
#F8F76D #6DB4F8 #B16DF8
monochromatic
#E0DE0B #F5F433 #F8F76D #FBFAA7 #FEFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F76D#FFFFFF#000000##000000
##F8F76D1.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)
#FFEE5E
Deuteranopia (green-blind)
#FFF375
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f76d;
/* rgb */ color: rgb(248, 247, 109);
/* oklch */ color: oklch(95.1% 0.159 108.7);
Tailwind
colors: {
  custom: {
    50: '#fdf99b',
    500: '#f8f76d',
    950: '#000000',
  },
}
SCSS
$custom: #f8f76d;
$custom-light: #fdf99b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f76d",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 109
  },
  "hsl": {
    "h": 59.568,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.95093,
    "c": 0.15871,
    "h": 108.7
  },
  "luminance": 0.87582
}

Semantic roles & 50–950 ramp

primary
#F8F76D
secondary
#3738D2
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F76D

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

Preview Lab → · Contrast checker → · Palette generator →

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