#F8F395#F8F395

#F8F395 is a very light, moderate yellow. Relative luminance 0.862; OKLCH L 94.8% C 0.116 H 105.8°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#F8F395
RGBrgb(248, 243, 149)
HSLhsl(57, 88%, 78%)
HSVhsv(57, 40%, 97%)
CMYKcmyk(0%, 2%, 39.9%, 2.7%)
CIE-LABlab(94.41, -11.44, 45.87)
CIE-LCHlch(94.41, 47.28, 104.01°)
OKLaboklab(94.78% -0.0315 0.1116)
OKLCHoklch(94.78% 0.116 105.8)
XYZxyz(76.1881, 86.2294, 41.0585)
Luminance0.8623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F395 #959AF8
analogous
#F8C295 #F8F395 #CBF895
triadic
#F8F395 #95F8F3 #F395F8
tetradic
#F8F395 #95F8C2 #959AF8 #F895CB
square
#F8F395 #95F8C2 #959AF8 #F895CB
split-complementary
#F8F395 #95CBF8 #C295F8
monochromatic
#F0E622 #F4ED5C #F8F395 #FCF9CE #FDFCE2

Accessibility & contrast

On white

1.15
#F8F395 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.25
#F8F395 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F395
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F395#FFFFFF#000000##000000
##F8F3951.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8E
Deuteranopia (green-blind)
#FFF199
Tritanopia (blue-blind)
#FFE8DC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8f395;
/* rgb */ color: rgb(248, 243, 149);
/* oklch */ color: oklch(94.8% 0.116 105.8);
Tailwind
colors: {
  custom: {
    50: '#fcf6b5',
    500: '#f8f395',
    950: '#000000',
  },
}
SCSS
$custom: #f8f395;
$custom-light: #fcf6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f395",
  "rgb": {
    "r": 248,
    "g": 243,
    "b": 149
  },
  "hsl": {
    "h": 56.97,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.94782,
    "c": 0.11591,
    "h": 105.8
  },
  "luminance": 0.86228
}

Semantic roles & 50–950 ramp

primary
#F8F395
secondary
#5A60D7
accent
#0DE401
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F395

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

Preview Lab → · Contrast checker → · Palette generator →

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