#F8F16A#F8F16A

#F8F16A is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.8% C 0.155 H 106.3°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#F8F16A
RGBrgb(248, 241, 106)
HSLhsl(57, 91%, 69%)
HSVhsv(57, 57%, 97%)
CMYKcmyk(0%, 2.8%, 57.3%, 2.7%)
CIE-LABlab(93.41, -14.19, 64.57)
CIE-LCHlch(93.41, 66.11, 102.39°)
OKLaboklab(93.83% -0.0435 0.149)
OKLCHoklch(93.83% 0.155 106.3)
XYZxyz(72.7705, 83.9099, 25.9958)
Luminance0.8391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F16A #6A71F8
analogous
#F8AA6A #F8F16A #B8F86A
triadic
#F8F16A #6AF8F1 #F16AF8
tetradic
#F8F16A #6AF8AA #6A71F8 #F86AB8
square
#F8F16A #6AF8AA #6A71F8 #F86AB8
split-complementary
#F8F16A #6AB8F8 #AA6AF8
monochromatic
#DDD30A #F5EC30 #F8F16A #FBF6A4 #FDFCDF

Accessibility & contrast

On white

1.18
#F8F16A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.78
#F8F16A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F16A
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F16A#FFFFFF#000000##000000
##F8F16A1.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE95B
Deuteranopia (green-blind)
#FFEF71
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f8f16a;
/* rgb */ color: rgb(248, 241, 106);
/* oklch */ color: oklch(93.8% 0.155 106.3);
Tailwind
colors: {
  custom: {
    50: '#fdf599',
    500: '#f8f16a',
    950: '#000000',
  },
}
SCSS
$custom: #f8f16a;
$custom-light: #fdf599;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f16a",
  "rgb": {
    "r": 248,
    "g": 241,
    "b": 106
  },
  "hsl": {
    "h": 57.042,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.9383,
    "c": 0.1552,
    "h": 106.3
  },
  "luminance": 0.83908
}

Semantic roles & 50–950 ramp

primary
#F8F16A
secondary
#343CD2
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F16A

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

Preview Lab → · Contrast checker → · Palette generator →

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