#F8F56A#F8F56A

#F8F56A is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.7% C 0.159 H 107.9°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#F8F56A
RGBrgb(248, 245, 106)
HSLhsl(59, 91%, 69%)
HSVhsv(59, 57%, 97%)
CMYKcmyk(0%, 1.2%, 57.3%, 2.7%)
CIE-LABlab(94.44, -16.14, 65.71)
CIE-LCHlch(94.44, 67.67, 103.80°)
OKLaboklab(94.65% -0.049 0.1514)
OKLCHoklch(94.65% 0.159 107.9)
XYZxyz(73.9675, 86.3040, 26.3948)
Luminance0.8630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F56A #6A6DF8
analogous
#F8AE6A #F8F56A #B4F86A
triadic
#F8F56A #6AF8F5 #F56AF8
tetradic
#F8F56A #6AF8AE #6A6DF8 #F86AB4
square
#F8F56A #6AF8AE #6A6DF8 #F86AB4
split-complementary
#F8F56A #6AB4F8 #AE6AF8
monochromatic
#DDD90A #F5F130 #F8F56A #FBF9A4 #FDFDDF

Accessibility & contrast

On white

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

On black

18.26
#F8F56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F56A
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F56A#FFFFFF#000000##000000
##F8F56A1.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f56a;
/* rgb */ color: rgb(248, 245, 106);
/* oklch */ color: oklch(94.7% 0.159 107.9);
Tailwind
colors: {
  custom: {
    50: '#fdf899',
    500: '#f8f56a',
    950: '#000000',
  },
}
SCSS
$custom: #f8f56a;
$custom-light: #fdf899;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f56a",
  "rgb": {
    "r": 248,
    "g": 245,
    "b": 106
  },
  "hsl": {
    "h": 58.732,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.94651,
    "c": 0.15916,
    "h": 107.9
  },
  "luminance": 0.86302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F56A

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

Preview Lab → · Contrast checker → · Palette generator →

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