#F8F595#F8F595

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

Color values

HEX#F8F595
RGBrgb(248, 245, 149)
HSLhsl(58, 88%, 78%)
HSVhsv(58, 40%, 97%)
CMYKcmyk(0%, 1.2%, 39.9%, 2.7%)
CIE-LABlab(94.92, -12.43, 46.52)
CIE-LCHlch(94.92, 48.15, 104.96°)
OKLaboklab(95.19% -0.0343 0.113)
OKLCHoklch(95.19% 0.118 106.9)
XYZxyz(76.7899, 87.4329, 41.2591)
Luminance0.8743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F595 #9598F8
analogous
#F8C395 #F8F595 #C9F895
triadic
#F8F595 #95F8F5 #F595F8
tetradic
#F8F595 #95F8C3 #9598F8 #F895C9
square
#F8F595 #95F8C3 #9598F8 #F895C9
split-complementary
#F8F595 #95C9F8 #C395F8
monochromatic
#F0EA22 #F4F05C #F8F595 #FCFACE #FDFCE2

Accessibility & contrast

On white

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

On black

18.49
#F8F595 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F595
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F595#FFFFFF#000000##000000
##F8F5951.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8E
Deuteranopia (green-blind)
#FFF299
Tritanopia (blue-blind)
#FFEADE
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f595;
/* rgb */ color: rgb(248, 245, 149);
/* oklch */ color: oklch(95.2% 0.118 106.9);
Tailwind
colors: {
  custom: {
    50: '#fcf8b5',
    500: '#f8f595',
    950: '#000000',
  },
}
SCSS
$custom: #f8f595;
$custom-light: #fcf8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f595",
  "rgb": {
    "r": 248,
    "g": 245,
    "b": 149
  },
  "hsl": {
    "h": 58.182,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.95188,
    "c": 0.1181,
    "h": 106.9
  },
  "luminance": 0.87431
}

Semantic roles & 50–950 ramp

primary
#F8F595
secondary
#5A5ED7
accent
#08E401
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F595

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

Preview Lab → · Contrast checker → · Palette generator →

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