#F8F789#F8F789

#F8F789 is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.4% C 0.133 H 108.2°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#F8F789
RGBrgb(248, 247, 137)
HSLhsl(59, 89%, 75%)
HSVhsv(59, 45%, 97%)
CMYKcmyk(0%, 0.4%, 44.8%, 2.7%)
CIE-LABlab(95.28, -14.58, 52.71)
CIE-LCHlch(95.28, 54.69, 105.47°)
OKLaboklab(95.42% -0.0415 0.1262)
OKLCHoklch(95.42% 0.133 108.2)
XYZxyz(76.4890, 88.2859, 36.6737)
Luminance0.8828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F789 #898AF8
analogous
#F8BF89 #F8F789 #C2F889
triadic
#F8F789 #89F8F7 #F789F8
tetradic
#F8F789 #89F8BF #898AF8 #F889C2
square
#F8F789 #89F8BF #898AF8 #F889C2
split-complementary
#F8F789 #89C2F8 #BF89F8
monochromatic
#F1EF15 #F5F34F #F8F789 #FBFBC3 #FDFDE2

Accessibility & contrast

On white

1.13
#F8F789 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.66
#F8F789 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F789
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F789#FFFFFF#000000##000000
##F8F7891.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF80
Deuteranopia (green-blind)
#FFF38E
Tritanopia (blue-blind)
#FFEBDD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f789;
/* rgb */ color: rgb(248, 247, 137);
/* oklch */ color: oklch(95.4% 0.133 108.2);
Tailwind
colors: {
  custom: {
    50: '#fcf9ad',
    500: '#f8f789',
    950: '#000000',
  },
}
SCSS
$custom: #f8f789;
$custom-light: #fcf9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f789",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 137
  },
  "hsl": {
    "h": 59.459,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.95424,
    "c": 0.1328,
    "h": 108.2
  },
  "luminance": 0.88284
}

Semantic roles & 50–950 ramp

primary
#F8F789
secondary
#4F50D6
accent
#02E500
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F789

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

Preview Lab → · Contrast checker → · Palette generator →

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