#F8F18A#F8F18A

#F8F18A is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.2% C 0.125 H 105.1°. Best body text is #000000 at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#F8F18A
RGBrgb(248, 241, 138)
HSLhsl(56, 89%, 76%)
HSVhsv(56, 44%, 97%)
CMYKcmyk(0%, 2.8%, 44.4%, 2.7%)
CIE-LABlab(93.76, -11.55, 50.36)
CIE-LCHlch(93.76, 51.67, 102.91°)
OKLaboklab(94.22% -0.0327 0.121)
OKLCHoklch(94.22% 0.125 105.1)
XYZxyz(74.7557, 84.7040, 36.4514)
Luminance0.8470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F18A #8A91F8
analogous
#F8BA8A #F8F18A #C8F88A
triadic
#F8F18A #8AF8F1 #F18AF8
tetradic
#F8F18A #8AF8BA #8A91F8 #F88AC8
square
#F8F18A #8AF8BA #8A91F8 #F88AC8
split-complementary
#F8F18A #8AC8F8 #BA8AF8
monochromatic
#F1E317 #F5EA50 #F8F18A #FBF8C4 #FDFCE2

Accessibility & contrast

On white

1.17
#F8F18A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.94
#F8F18A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F18A
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F18A#FFFFFF#000000##000000
##F8F18A1.001.1717.9417.94
#FFFFFF1.171.0021.0021.00
#00000017.9421.001.001.00
##00000017.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA82
Deuteranopia (green-blind)
#FFEF8F
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f8f18a;
/* rgb */ color: rgb(248, 241, 138);
/* oklch */ color: oklch(94.2% 0.125 105.1);
Tailwind
colors: {
  custom: {
    50: '#fcf5ae',
    500: '#f8f18a',
    950: '#000000',
  },
}
SCSS
$custom: #f8f18a;
$custom-light: #fcf5ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f18a",
  "rgb": {
    "r": 248,
    "g": 241,
    "b": 138
  },
  "hsl": {
    "h": 56.182,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.94215,
    "c": 0.12534,
    "h": 105.1
  },
  "luminance": 0.84702
}

Semantic roles & 50–950 ramp

primary
#F8F18A
secondary
#5059D6
accent
#0FE500
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F18A

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

Preview Lab → · Contrast checker → · Palette generator →

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