#F8F48A#F8F48A

#F8F48A is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.8% C 0.129 H 106.7°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#F8F48A
RGBrgb(248, 244, 138)
HSLhsl(58, 89%, 76%)
HSVhsv(58, 44%, 97%)
CMYKcmyk(0%, 1.6%, 44.4%, 2.7%)
CIE-LABlab(94.52, -13.02, 51.31)
CIE-LCHlch(94.52, 52.93, 104.24°)
OKLaboklab(94.83% -0.0369 0.1231)
OKLCHoklch(94.83% 0.129 106.7)
XYZxyz(75.6511, 86.4947, 36.7499)
Luminance0.8649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F48A #8A8EF8
analogous
#F8BD8A #F8F48A #C5F88A
triadic
#F8F48A #8AF8F4 #F48AF8
tetradic
#F8F48A #8AF8BD #8A8EF8 #F88AC5
square
#F8F48A #8AF8BD #8A8EF8 #F88AC5
split-complementary
#F8F48A #8AC5F8 #BD8AF8
monochromatic
#F1E917 #F5EF50 #F8F48A #FBF9C4 #FDFCE2

Accessibility & contrast

On white

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

On black

18.30
#F8F48A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F48A
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F48A#FFFFFF#000000##000000
##F8F48A1.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED81
Deuteranopia (green-blind)
#FFF18F
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8f48a;
/* rgb */ color: rgb(248, 244, 138);
/* oklch */ color: oklch(94.8% 0.129 106.7);
Tailwind
colors: {
  custom: {
    50: '#fcf7ae',
    500: '#f8f48a',
    950: '#000000',
  },
}
SCSS
$custom: #f8f48a;
$custom-light: #fcf7ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f48a",
  "rgb": {
    "r": 248,
    "g": 244,
    "b": 138
  },
  "hsl": {
    "h": 57.818,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.94825,
    "c": 0.12854,
    "h": 106.7
  },
  "luminance": 0.86493
}

Semantic roles & 50–950 ramp

primary
#F8F48A
secondary
#5055D6
accent
#09E500
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F48A

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

Preview Lab → · Contrast checker → · Palette generator →

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