#F8F89D#F8F89D

#F8F89D is a very light, moderate yellow. Relative luminance 0.895; OKLCH L 95.9% C 0.113 H 108.3°. Best body text is #000000 at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#F8F89D
RGBrgb(248, 248, 157)
HSLhsl(60, 87%, 79%)
HSVhsv(60, 37%, 97%)
CMYKcmyk(0%, 0%, 36.7%, 2.7%)
CIE-LABlab(95.80, -13.05, 43.74)
CIE-LCHlch(95.80, 45.64, 106.61°)
OKLaboklab(95.92% -0.0355 0.1071)
OKLCHoklch(95.92% 0.113 108.3)
XYZxyz(78.3655, 89.5271, 45.0440)
Luminance0.8953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F89D #9D9DF8
analogous
#F8CB9D #F8F89D #CBF89D
triadic
#F8F89D #9DF8F8 #F89DF8
tetradic
#F8F89D #9DF8CB #9D9DF8 #F89DCB
square
#F8F89D #9DF8CB #9D9DF8 #F89DCB
split-complementary
#F8F89D #9DCBF8 #CB9DF8
monochromatic
#F0F02B #F4F464 #F8F89D #FCFCD6 #FDFDE2

Accessibility & contrast

On white

1.11
#F8F89D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.91
#F8F89D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F89D
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F89D#FFFFFF#000000##000000
##F8F89D1.001.1118.9118.91
#FFFFFF1.111.0021.0021.00
#00000018.9121.001.001.00
##00000018.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF196
Deuteranopia (green-blind)
#FFF5A1
Tritanopia (blue-blind)
#FFEDE1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8f89d;
/* rgb */ color: rgb(248, 248, 157);
/* oklch */ color: oklch(95.9% 0.113 108.3);
Tailwind
colors: {
  custom: {
    50: '#fcfabb',
    500: '#f8f89d',
    950: '#000000',
  },
}
SCSS
$custom: #f8f89d;
$custom-light: #fcfabb;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f89d",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 157
  },
  "hsl": {
    "h": 60,
    "s": 86.667,
    "l": 79.412
  },
  "oklch": {
    "l": 0.95922,
    "c": 0.1128,
    "h": 108.3
  },
  "luminance": 0.89526
}

Semantic roles & 50–950 ramp

primary
#F8F89D
secondary
#6161D8
accent
#02E302
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #F8F89D

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

Preview Lab → · Contrast checker → · Palette generator →

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