#F8E486#F8E486

#F8E486 is a very light, moderate yellow. Relative luminance 0.772; OKLCH L 91.5% C 0.117 H 97.6°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#F8E486
RGBrgb(248, 228, 134)
HSLhsl(49, 89%, 75%)
HSVhsv(49, 46%, 97%)
CMYKcmyk(0%, 8.1%, 46%, 2.7%)
CIE-LABlab(90.40, -5.45, 48.14)
CIE-LCHlch(90.40, 48.44, 96.46°)
OKLaboklab(91.54% -0.0155 0.1158)
OKLCHoklch(91.54% 0.117 97.6)
XYZxyz(70.7598, 77.1670, 33.7170)
Luminance0.7716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E486 #869AF8
analogous
#F8AB86 #F8E486 #D3F886
triadic
#F8E486 #86F8E4 #E486F8
tetradic
#F8E486 #86F8AB #869AF8 #F886D3
square
#F8E486 #86F8AB #869AF8 #F886D3
split-complementary
#F8E486 #86D3F8 #AB86F8
monochromatic
#F1CA12 #F5D74C #F8E486 #FBF1C0 #FDF9E2

Accessibility & contrast

On white

1.28
#F8E486 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.43
#F8E486 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E486
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E486#FFFFFF#000000##000000
##F8E4861.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DF7E
Deuteranopia (green-blind)
#FAE78A
Tritanopia (blue-blind)
#FFD8CD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f8e486;
/* rgb */ color: rgb(248, 228, 134);
/* oklch */ color: oklch(91.5% 0.117 97.6);
Tailwind
colors: {
  custom: {
    50: '#fcecab',
    500: '#f8e486',
    950: '#000000',
  },
}
SCSS
$custom: #f8e486;
$custom-light: #fcecab;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e486",
  "rgb": {
    "r": 248,
    "g": 228,
    "b": 134
  },
  "hsl": {
    "h": 49.474,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.91537,
    "c": 0.11681,
    "h": 97.6
  },
  "luminance": 0.77164
}

Semantic roles & 50–950 ramp

primary
#F8E486
secondary
#4D65D6
accent
#28E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F8E486

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

Preview Lab → · Contrast checker → · Palette generator →

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