#F8F570#F8F570

#F8F570 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.7% C 0.154 H 107.8°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#F8F570
RGBrgb(248, 245, 112)
HSLhsl(59, 91%, 71%)
HSVhsv(59, 55%, 97%)
CMYKcmyk(0%, 1.2%, 54.8%, 2.7%)
CIE-LABlab(94.50, -15.71, 63.18)
CIE-LCHlch(94.50, 65.11, 103.96°)
OKLaboklab(94.71% -0.0472 0.1467)
OKLCHoklch(94.71% 0.154 107.8)
XYZxyz(74.2905, 86.4332, 28.0960)
Luminance0.8643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F570 #7073F8
analogous
#F8B170 #F8F570 #B7F870
triadic
#F8F570 #70F8F5 #F570F8
tetradic
#F8F570 #70F8B1 #7073F8 #F870B7
square
#F8F570 #70F8B1 #7073F8 #F870B7
split-complementary
#F8F570 #70B7F8 #B170F8
monochromatic
#E3DE0B #F5F136 #F8F570 #FBF9AA #FEFDE2

Accessibility & contrast

On white

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

On black

18.29
#F8F570 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F570
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F570#FFFFFF#000000##000000
##F8F5701.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f570;
/* rgb */ color: rgb(248, 245, 112);
/* oklch */ color: oklch(94.7% 0.154 107.8);
Tailwind
colors: {
  custom: {
    50: '#fdf89d',
    500: '#f8f570',
    950: '#000000',
  },
}
SCSS
$custom: #f8f570;
$custom-light: #fdf89d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f570",
  "rgb": {
    "r": 248,
    "g": 245,
    "b": 112
  },
  "hsl": {
    "h": 58.676,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94713,
    "c": 0.15411,
    "h": 107.8
  },
  "luminance": 0.86431
}

Semantic roles & 50–950 ramp

primary
#F8F570
secondary
#393DD3
accent
#05E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F570

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

Preview Lab → · Contrast checker → · Palette generator →

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