#F8F376#F8F376

#F8F376 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.4% C 0.147 H 106.8°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#F8F376
RGBrgb(248, 243, 118)
HSLhsl(58, 90%, 72%)
HSVhsv(58, 52%, 97%)
CMYKcmyk(0%, 2%, 52.4%, 2.7%)
CIE-LABlab(94.04, -14.27, 60.00)
CIE-LCHlch(94.04, 61.67, 103.38°)
OKLaboklab(94.37% -0.0424 0.1405)
OKLCHoklch(94.37% 0.147 106.8)
XYZxyz(74.0340, 85.3678, 29.7138)
Luminance0.8537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F376 #767BF8
analogous
#F8B276 #F8F376 #BCF876
triadic
#F8F376 #76F8F3 #F376F8
tetradic
#F8F376 #76F8B2 #767BF8 #F876BC
square
#F8F376 #76F8B2 #767BF8 #F876BC
split-complementary
#F8F376 #76BCF8 #B276F8
monochromatic
#E8DF0C #F5EE3C #F8F376 #FBF8B0 #FEFCE2

Accessibility & contrast

On white

1.16
#F8F376 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.07
#F8F376 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F376
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F376#FFFFFF#000000##000000
##F8F3761.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6A
Deuteranopia (green-blind)
#FFF07C
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f376;
/* rgb */ color: rgb(248, 243, 118);
/* oklch */ color: oklch(94.4% 0.147 106.8);
Tailwind
colors: {
  custom: {
    50: '#fdf6a1',
    500: '#f8f376',
    950: '#000000',
  },
}
SCSS
$custom: #f8f376;
$custom-light: #fdf6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f376",
  "rgb": {
    "r": 248,
    "g": 243,
    "b": 118
  },
  "hsl": {
    "h": 57.692,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.94369,
    "c": 0.14677,
    "h": 106.8
  },
  "luminance": 0.85366
}

Semantic roles & 50–950 ramp

primary
#F8F376
secondary
#3F44D4
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F376

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

Preview Lab → · Contrast checker → · Palette generator →

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