#F8F189#F8F189

#F8F189 is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.2% C 0.126 H 105.2°. Best body text is #000000 at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#F8F189
RGBrgb(248, 241, 137)
HSLhsl(56, 89%, 75%)
HSVhsv(56, 45%, 97%)
CMYKcmyk(0%, 2.8%, 44.8%, 2.7%)
CIE-LABlab(93.74, -11.64, 50.82)
CIE-LCHlch(93.74, 52.14, 102.90°)
OKLaboklab(94.2% -0.0331 0.122)
OKLCHoklch(94.2% 0.126 105.2)
XYZxyz(74.6837, 84.6752, 36.0719)
Luminance0.8467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F189 #8990F8
analogous
#F8B989 #F8F189 #C7F889
triadic
#F8F189 #89F8F1 #F189F8
tetradic
#F8F189 #89F8B9 #8990F8 #F889C7
square
#F8F189 #89F8B9 #8990F8 #F889C7
split-complementary
#F8F189 #89C7F8 #B989F8
monochromatic
#F1E315 #F5EA4F #F8F189 #FBF8C3 #FDFCE2

Accessibility & contrast

On white

1.17
#F8F189 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.93
#F8F189 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F189
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F189#FFFFFF#000000##000000
##F8F1891.001.1717.9317.93
#FFFFFF1.171.0021.0021.00
#00000017.9321.001.001.00
##00000017.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA80
Deuteranopia (green-blind)
#FFEF8E
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f8f189;
/* rgb */ color: rgb(248, 241, 137);
/* oklch */ color: oklch(94.2% 0.126 105.2);
Tailwind
colors: {
  custom: {
    50: '#fcf5ad',
    500: '#f8f189',
    950: '#000000',
  },
}
SCSS
$custom: #f8f189;
$custom-light: #fcf5ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f189",
  "rgb": {
    "r": 248,
    "g": 241,
    "b": 137
  },
  "hsl": {
    "h": 56.216,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.94201,
    "c": 0.12637,
    "h": 105.2
  },
  "luminance": 0.84673
}

Semantic roles & 50–950 ramp

primary
#F8F189
secondary
#4F58D6
accent
#0FE500
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F189

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

Preview Lab → · Contrast checker → · Palette generator →

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