#F8F476#F8F476

#F8F476 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.6% C 0.148 H 107.3°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#F8F476
RGBrgb(248, 244, 118)
HSLhsl(58, 90%, 72%)
HSVhsv(58, 52%, 97%)
CMYKcmyk(0%, 1.6%, 52.4%, 2.7%)
CIE-LABlab(94.30, -14.76, 60.30)
CIE-LCHlch(94.30, 62.08, 103.75°)
OKLaboklab(94.57% -0.0438 0.1411)
OKLCHoklch(94.57% 0.148 107.3)
XYZxyz(74.3341, 85.9679, 29.8138)
Luminance0.8597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F476 #767AF8
analogous
#F8B376 #F8F476 #BBF876
triadic
#F8F476 #76F8F4 #F476F8
tetradic
#F8F476 #76F8B3 #767AF8 #F876BB
square
#F8F476 #76F8B3 #767AF8 #F876BB
split-complementary
#F8F476 #76BBF8 #B376F8
monochromatic
#E8E10C #F5EF3C #F8F476 #FBF9B0 #FEFDE2

Accessibility & contrast

On white

1.15
#F8F476 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.19
#F8F476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F476
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F476#FFFFFF#000000##000000
##F8F4761.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6A
Deuteranopia (green-blind)
#FFF17C
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8f476;
/* rgb */ color: rgb(248, 244, 118);
/* oklch */ color: oklch(94.6% 0.148 107.3);
Tailwind
colors: {
  custom: {
    50: '#fdf7a1',
    500: '#f8f476',
    950: '#000000',
  },
}
SCSS
$custom: #f8f476;
$custom-light: #fdf7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f476",
  "rgb": {
    "r": 248,
    "g": 244,
    "b": 118
  },
  "hsl": {
    "h": 58.154,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.94573,
    "c": 0.14779,
    "h": 107.3
  },
  "luminance": 0.85966
}

Semantic roles & 50–950 ramp

primary
#F8F476
secondary
#3F43D4
accent
#07E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F476

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

Preview Lab → · Contrast checker → · Palette generator →

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