#F8E386#F8E386

#F8E386 is a very light, moderate yellow. Relative luminance 0.766; OKLCH L 91.3% C 0.116 H 97.0°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#F8E386
RGBrgb(248, 227, 134)
HSLhsl(49, 89%, 75%)
HSVhsv(49, 46%, 97%)
CMYKcmyk(0%, 8.5%, 46%, 2.7%)
CIE-LABlab(90.15, -4.95, 47.82)
CIE-LCHlch(90.15, 48.08, 95.91°)
OKLaboklab(91.34% -0.0141 0.1151)
OKLCHoklch(91.34% 0.116 97)
XYZxyz(70.4855, 76.6184, 33.6256)
Luminance0.7662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E386 #869BF8
analogous
#F8AA86 #F8E386 #D4F886
triadic
#F8E386 #86F8E3 #E386F8
tetradic
#F8E386 #86F8AA #869BF8 #F886D4
square
#F8E386 #86F8AA #869BF8 #F886D4
split-complementary
#F8E386 #86D4F8 #AA86F8
monochromatic
#F1C812 #F5D64C #F8E386 #FBF0C0 #FDF8E2

Accessibility & contrast

On white

1.29
#F8E386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.32
#F8E386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E386
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E386#FFFFFF#000000##000000
##F8E3861.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF7E
Deuteranopia (green-blind)
#F9E68A
Tritanopia (blue-blind)
#FFD7CD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f8e386;
/* rgb */ color: rgb(248, 227, 134);
/* oklch */ color: oklch(91.3% 0.116 97.0);
Tailwind
colors: {
  custom: {
    50: '#fcebab',
    500: '#f8e386',
    950: '#000000',
  },
}
SCSS
$custom: #f8e386;
$custom-light: #fcebab;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e386",
  "rgb": {
    "r": 248,
    "g": 227,
    "b": 134
  },
  "hsl": {
    "h": 48.947,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.91337,
    "c": 0.11593,
    "h": 97
  },
  "luminance": 0.76616
}

Semantic roles & 50–950 ramp

primary
#F8E386
secondary
#4D66D6
accent
#2AE600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F8E386

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

Preview Lab → · Contrast checker → · Palette generator →

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