#F5F889#F5F889

#F5F889 is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.4% C 0.134 H 110.1°. Best body text is #000000 at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#F5F889
RGBrgb(245, 248, 137)
HSLhsl(62, 89%, 75%)
HSVhsv(62, 45%, 97%)
CMYKcmyk(1.2%, 0%, 44.8%, 2.7%)
CIE-LABlab(95.31, -16.23, 52.69)
CIE-LCHlch(95.31, 55.14, 107.12°)
OKLaboklab(95.39% -0.0461 0.1262)
OKLCHoklch(95.39% 0.134 110.1)
XYZxyz(75.7403, 88.3550, 36.7264)
Luminance0.8835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F889 #8C89F8
analogous
#F8C489 #F5F889 #BDF889
triadic
#F5F889 #89F5F8 #F889F5
tetradic
#F5F889 #89F8C4 #8C89F8 #F889BD
square
#F5F889 #89F8C4 #8C89F8 #F889BD
split-complementary
#F5F889 #89BDF8 #C489F8
monochromatic
#EBF115 #F0F54F #F5F889 #FAFBC3 #FDFDE2

Accessibility & contrast

On white

1.12
#F5F889 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.67
#F5F889 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F889
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F889#FFFFFF#000000##000000
##F5F8891.001.1218.6718.67
#FFFFFF1.121.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f889;
/* rgb */ color: rgb(245, 248, 137);
/* oklch */ color: oklch(95.4% 0.134 110.1);
Tailwind
colors: {
  custom: {
    50: '#fafaad',
    500: '#f5f889',
    950: '#000000',
  },
}
SCSS
$custom: #f5f889;
$custom-light: #fafaad;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f889",
  "rgb": {
    "r": 245,
    "g": 248,
    "b": 137
  },
  "hsl": {
    "h": 61.622,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.95391,
    "c": 0.1343,
    "h": 110.1
  },
  "luminance": 0.88353
}

Semantic roles & 50–950 ramp

primary
#F5F889
secondary
#534FD6
accent
#00E506
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5F889

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

Preview Lab → · Contrast checker → · Palette generator →

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