#F8F989#F8F989

#F8F989 is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 95.8% C 0.135 H 109.2°. Best body text is #000000 at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#F8F989
RGBrgb(248, 249, 137)
HSLhsl(61, 90%, 76%)
HSVhsv(61, 45%, 98%)
CMYKcmyk(0.4%, 0%, 45%, 2.4%)
CIE-LABlab(95.80, -15.56, 53.34)
CIE-LCHlch(95.80, 55.56, 106.26°)
OKLaboklab(95.83% -0.0443 0.1275)
OKLCHoklch(95.83% 0.135 109.2)
XYZxyz(77.1039, 89.5157, 36.8786)
Luminance0.8951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F989 #8A89F9
analogous
#F9C289 #F8F989 #C0F989
triadic
#F8F989 #89F8F9 #F989F8
tetradic
#F8F989 #89F9C2 #8A89F9 #F989C0
square
#F8F989 #89F9C2 #8A89F9 #F989C0
split-complementary
#F8F989 #89C0F9 #C289F9
monochromatic
#F1F315 #F5F64F #F8F989 #FBFCC3 #FDFEE2

Accessibility & contrast

On white

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

On black

18.90
#F8F989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F989
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F989#FFFFFF#000000##000000
##F8F9891.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17F
Deuteranopia (green-blind)
#FFF58E
Tritanopia (blue-blind)
#FFEDDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8f989;
/* rgb */ color: rgb(248, 249, 137);
/* oklch */ color: oklch(95.8% 0.135 109.2);
Tailwind
colors: {
  custom: {
    50: '#fcfbad',
    500: '#f8f989',
    950: '#000000',
  },
}
SCSS
$custom: #f8f989;
$custom-light: #fcfbad;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f989",
  "rgb": {
    "r": 248,
    "g": 249,
    "b": 137
  },
  "hsl": {
    "h": 60.536,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.95833,
    "c": 0.13501,
    "h": 109.2
  },
  "luminance": 0.89514
}

Semantic roles & 50–950 ramp

primary
#F8F989
secondary
#504FD7
accent
#00E602
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F989

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

Preview Lab → · Contrast checker → · Palette generator →

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