#F8F386#F8F386

#F8F386 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.6% C 0.132 H 106.3°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#F8F386
RGBrgb(248, 243, 134)
HSLhsl(57, 89%, 75%)
HSVhsv(57, 46%, 97%)
CMYKcmyk(0%, 2%, 46%, 2.7%)
CIE-LABlab(94.22, -12.91, 52.83)
CIE-LCHlch(94.22, 54.38, 103.73°)
OKLaboklab(94.57% -0.037 0.1262)
OKLCHoklch(94.57% 0.132 106.3)
XYZxyz(75.0667, 85.7808, 35.1527)
Luminance0.8578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F386 #868BF8
analogous
#F8BA86 #F8F386 #C4F886
triadic
#F8F386 #86F8F3 #F386F8
tetradic
#F8F386 #86F8BA #868BF8 #F886C4
square
#F8F386 #86F8BA #868BF8 #F886C4
split-complementary
#F8F386 #86C4F8 #BA86F8
monochromatic
#F1E812 #F5ED4C #F8F386 #FBF9C0 #FDFCE2

Accessibility & contrast

On white

1.16
#F8F386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.16
#F8F386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F386
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F386#FFFFFF#000000##000000
##F8F3861.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7D
Deuteranopia (green-blind)
#FFF18B
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f386;
/* rgb */ color: rgb(248, 243, 134);
/* oklch */ color: oklch(94.6% 0.132 106.3);
Tailwind
colors: {
  custom: {
    50: '#fcf6ab',
    500: '#f8f386',
    950: '#000000',
  },
}
SCSS
$custom: #f8f386;
$custom-light: #fcf6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f386",
  "rgb": {
    "r": 248,
    "g": 243,
    "b": 134
  },
  "hsl": {
    "h": 57.368,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.94567,
    "c": 0.1315,
    "h": 106.3
  },
  "luminance": 0.85779
}

Semantic roles & 50–950 ramp

primary
#F8F386
secondary
#4D53D6
accent
#0AE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F386

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

Preview Lab → · Contrast checker → · Palette generator →

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