#F8F594#F8F594

#F8F594 is a very light, moderate yellow. Relative luminance 0.874; OKLCH L 95.2% C 0.119 H 106.9°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#F8F594
RGBrgb(248, 245, 148)
HSLhsl(58, 88%, 78%)
HSVhsv(58, 40%, 97%)
CMYKcmyk(0%, 1.2%, 40.3%, 2.7%)
CIE-LABlab(94.91, -12.53, 46.99)
CIE-LCHlch(94.91, 48.63, 104.93°)
OKLaboklab(95.17% -0.0347 0.114)
OKLCHoklch(95.17% 0.119 106.9)
XYZxyz(76.7104, 87.4011, 40.8404)
Luminance0.8740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F594 #9497F8
analogous
#F8C394 #F8F594 #C9F894
triadic
#F8F594 #94F8F5 #F594F8
tetradic
#F8F594 #94F8C3 #9497F8 #F894C9
square
#F8F594 #94F8C3 #9497F8 #F894C9
split-complementary
#F8F594 #94C9F8 #C394F8
monochromatic
#F0EA21 #F4F05B #F8F594 #FCFACD #FDFCE2

Accessibility & contrast

On white

1.14
#F8F594 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.48
#F8F594 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F594
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F594#FFFFFF#000000##000000
##F8F5941.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8C
Deuteranopia (green-blind)
#FFF298
Tritanopia (blue-blind)
#FFEADD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f594;
/* rgb */ color: rgb(248, 245, 148);
/* oklch */ color: oklch(95.2% 0.119 106.9);
Tailwind
colors: {
  custom: {
    50: '#fcf8b5',
    500: '#f8f594',
    950: '#000000',
  },
}
SCSS
$custom: #f8f594;
$custom-light: #fcf8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f594",
  "rgb": {
    "r": 248,
    "g": 245,
    "b": 148
  },
  "hsl": {
    "h": 58.2,
    "s": 87.719,
    "l": 77.647
  },
  "oklch": {
    "l": 0.95173,
    "c": 0.11918,
    "h": 106.9
  },
  "luminance": 0.87399
}

Semantic roles & 50–950 ramp

primary
#F8F594
secondary
#595DD7
accent
#08E401
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F594

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

Preview Lab → · Contrast checker → · Palette generator →

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