#F8F568#F8F568

#F8F568 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.6% C 0.161 H 108.0°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#F8F568
RGBrgb(248, 245, 104)
HSLhsl(59, 91%, 69%)
HSVhsv(59, 58%, 97%)
CMYKcmyk(0%, 1.2%, 58.1%, 2.7%)
CIE-LABlab(94.42, -16.27, 66.54)
CIE-LCHlch(94.42, 68.50, 103.74°)
OKLaboklab(94.63% -0.0496 0.153)
OKLCHoklch(94.63% 0.161 108)
XYZxyz(73.8647, 86.2629, 25.8535)
Luminance0.8626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F568 #686BF8
analogous
#F8AD68 #F8F568 #B3F868
triadic
#F8F568 #68F8F5 #F568F8
tetradic
#F8F568 #68F8AD #686BF8 #F868B3
square
#F8F568 #68F8AD #686BF8 #F868B3
split-complementary
#F8F568 #68B3F8 #AD68F8
monochromatic
#DBD70A #F5F12E #F8F568 #FBF9A2 #FDFDDD

Accessibility & contrast

On white

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

On black

18.25
#F8F568 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F568
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F568#FFFFFF#000000##000000
##F8F5681.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC58
Deuteranopia (green-blind)
#FFF170
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8f568;
/* rgb */ color: rgb(248, 245, 104);
/* oklch */ color: oklch(94.6% 0.161 108.0);
Tailwind
colors: {
  custom: {
    50: '#fdf898',
    500: '#f8f568',
    950: '#000000',
  },
}
SCSS
$custom: #f8f568;
$custom-light: #fdf898;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f568",
  "rgb": {
    "r": 248,
    "g": 245,
    "b": 104
  },
  "hsl": {
    "h": 58.75,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.94631,
    "c": 0.16079,
    "h": 108
  },
  "luminance": 0.86261
}

Semantic roles & 50–950 ramp

primary
#F8F568
secondary
#3236D2
accent
#05E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F568

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

Preview Lab → · Contrast checker → · Palette generator →

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