#F8F89B#F8F89B

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

Color values

HEX#F8F89B
RGBrgb(248, 248, 155)
HSLhsl(60, 87%, 79%)
HSVhsv(60, 38%, 97%)
CMYKcmyk(0%, 0%, 37.5%, 2.7%)
CIE-LABlab(95.77, -13.27, 44.68)
CIE-LCHlch(95.77, 46.60, 106.54°)
OKLaboklab(95.89% -0.0363 0.1091)
OKLCHoklch(95.89% 0.115 108.4)
XYZxyz(78.1962, 89.4594, 44.1521)
Luminance0.8946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F89B #9B9BF8
analogous
#F8CA9B #F8F89B #CAF89B
triadic
#F8F89B #9BF8F8 #F89BF8
tetradic
#F8F89B #9BF8CA #9B9BF8 #F89BCA
square
#F8F89B #9BF8CA #9B9BF8 #F89BCA
split-complementary
#F8F89B #9BCAF8 #CA9BF8
monochromatic
#F0F029 #F4F462 #F8F89B #FCFCD4 #FDFDE2

Accessibility & contrast

On white

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

On black

18.89
#F8F89B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F89B
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F89B#FFFFFF#000000##000000
##F8F89B1.001.1118.8918.89
#FFFFFF1.111.0021.0021.00
#00000018.8921.001.001.00
##00000018.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f89b;
/* rgb */ color: rgb(248, 248, 155);
/* oklch */ color: oklch(95.9% 0.115 108.4);
Tailwind
colors: {
  custom: {
    50: '#fcfab9',
    500: '#f8f89b',
    950: '#000000',
  },
}
SCSS
$custom: #f8f89b;
$custom-light: #fcfab9;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f89b",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 155
  },
  "hsl": {
    "h": 60,
    "s": 86.916,
    "l": 79.02
  },
  "oklch": {
    "l": 0.9589,
    "c": 0.11499,
    "h": 108.4
  },
  "luminance": 0.89458
}

Semantic roles & 50–950 ramp

primary
#F8F89B
secondary
#5F5FD8
accent
#02E302
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #F8F89B

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

Preview Lab → · Contrast checker → · Palette generator →

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