#F8F495#F8F495

#F8F495 is a very light, moderate yellow. Relative luminance 0.868; OKLCH L 95.0% C 0.117 H 106.3°. Best body text is #000000 at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#F8F495
RGBrgb(248, 244, 149)
HSLhsl(58, 88%, 78%)
HSVhsv(58, 40%, 97%)
CMYKcmyk(0%, 1.6%, 39.9%, 2.7%)
CIE-LABlab(94.67, -11.93, 46.19)
CIE-LCHlch(94.67, 47.71, 104.49°)
OKLaboklab(94.99% -0.0329 0.1123)
OKLCHoklch(94.99% 0.117 106.3)
XYZxyz(76.4882, 86.8295, 41.1585)
Luminance0.8683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F495 #9599F8
analogous
#F8C395 #F8F495 #CAF895
triadic
#F8F495 #95F8F4 #F495F8
tetradic
#F8F495 #95F8C3 #9599F8 #F895CA
square
#F8F495 #95F8C3 #9599F8 #F895CA
split-complementary
#F8F495 #95CAF8 #C395F8
monochromatic
#F0E822 #F4EE5C #F8F495 #FCFACE #FDFCE2

Accessibility & contrast

On white

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

On black

18.37
#F8F495 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F495
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F495#FFFFFF#000000##000000
##F8F4951.001.1418.3718.37
#FFFFFF1.141.0021.0021.00
#00000018.3721.001.001.00
##00000018.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f495;
/* rgb */ color: rgb(248, 244, 149);
/* oklch */ color: oklch(95.0% 0.117 106.3);
Tailwind
colors: {
  custom: {
    50: '#fcf7b5',
    500: '#f8f495',
    950: '#000000',
  },
}
SCSS
$custom: #f8f495;
$custom-light: #fcf7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f495",
  "rgb": {
    "r": 248,
    "g": 244,
    "b": 149
  },
  "hsl": {
    "h": 57.576,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.94985,
    "c": 0.117,
    "h": 106.3
  },
  "luminance": 0.86828
}

Semantic roles & 50–950 ramp

primary
#F8F495
secondary
#5A5FD7
accent
#0AE401
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F495

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

Preview Lab → · Contrast checker → · Palette generator →

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