#F8F76B#F8F76B

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

Color values

HEX#F8F76B
RGBrgb(248, 247, 107)
HSLhsl(60, 91%, 70%)
HSVhsv(60, 57%, 97%)
CMYKcmyk(0%, 0.4%, 56.9%, 2.7%)
CIE-LABlab(94.97, -17.04, 65.87)
CIE-LCHlch(94.97, 68.04, 104.50°)
OKLaboklab(95.07% -0.0515 0.1519)
OKLCHoklch(95.07% 0.16 108.7)
XYZxyz(74.6282, 87.5416, 26.8731)
Luminance0.8754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F76B #6B6CF8
analogous
#F8B06B #F8F76B #B3F86B
triadic
#F8F76B #6BF8F7 #F76BF8
tetradic
#F8F76B #6BF8B0 #6B6CF8 #F86BB3
square
#F8F76B #6BF8B0 #6B6CF8 #F86BB3
split-complementary
#F8F76B #6BB3F8 #B06BF8
monochromatic
#DEDD0B #F5F431 #F8F76B #FBFAA5 #FEFDE0

Accessibility & contrast

On white

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

On black

18.51
#F8F76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F76B
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F76B#FFFFFF#000000##000000
##F8F76B1.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5C
Deuteranopia (green-blind)
#FFF373
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f76b;
/* rgb */ color: rgb(248, 247, 107);
/* oklch */ color: oklch(95.1% 0.160 108.7);
Tailwind
colors: {
  custom: {
    50: '#fdf99a',
    500: '#f8f76b',
    950: '#000000',
  },
}
SCSS
$custom: #f8f76b;
$custom-light: #fdf99a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f76b",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 107
  },
  "hsl": {
    "h": 59.574,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.95073,
    "c": 0.16037,
    "h": 108.7
  },
  "luminance": 0.8754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F76B

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

Preview Lab → · Contrast checker → · Palette generator →

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