#F8F577#F8F577

#F8F577 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.8% C 0.148 H 107.7°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#F8F577
RGBrgb(248, 245, 119)
HSLhsl(59, 90%, 72%)
HSVhsv(59, 52%, 97%)
CMYKcmyk(0%, 1.2%, 52%, 2.7%)
CIE-LABlab(94.57, -15.17, 60.16)
CIE-LCHlch(94.57, 62.04, 104.15°)
OKLaboklab(94.79% -0.0449 0.1409)
OKLCHoklch(94.79% 0.148 107.7)
XYZxyz(74.6955, 86.5952, 30.2290)
Luminance0.8659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F577 #777AF8
analogous
#F8B577 #F8F577 #BAF877
triadic
#F8F577 #77F8F5 #F577F8
tetradic
#F8F577 #77F8B5 #777AF8 #F877BA
square
#F8F577 #77F8B5 #777AF8 #F877BA
split-complementary
#F8F577 #77BAF8 #B577F8
monochromatic
#E9E30C #F5F13D #F8F577 #FBF9B1 #FEFDE2

Accessibility & contrast

On white

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

On black

18.32
#F8F577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F577
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F577#FFFFFF#000000##000000
##F8F5771.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6B
Deuteranopia (green-blind)
#FFF27D
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8f577;
/* rgb */ color: rgb(248, 245, 119);
/* oklch */ color: oklch(94.8% 0.148 107.7);
Tailwind
colors: {
  custom: {
    50: '#fdf8a1',
    500: '#f8f577',
    950: '#000000',
  },
}
SCSS
$custom: #f8f577;
$custom-light: #fdf8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f577",
  "rgb": {
    "r": 248,
    "g": 245,
    "b": 119
  },
  "hsl": {
    "h": 58.605,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9479,
    "c": 0.14792,
    "h": 107.7
  },
  "luminance": 0.86593
}

Semantic roles & 50–950 ramp

primary
#F8F577
secondary
#3F43D4
accent
#05E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F577

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

Preview Lab → · Contrast checker → · Palette generator →

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