#F8E586#F8E586

#F8E586 is a very light, moderate yellow. Relative luminance 0.777; OKLCH L 91.7% C 0.118 H 98.3°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#F8E586
RGBrgb(248, 229, 134)
HSLhsl(50, 89%, 75%)
HSVhsv(50, 46%, 97%)
CMYKcmyk(0%, 7.7%, 46%, 2.7%)
CIE-LABlab(90.65, -5.96, 48.45)
CIE-LCHlch(90.65, 48.81, 97.01°)
OKLaboklab(91.74% -0.017 0.1165)
OKLCHoklch(91.74% 0.118 98.3)
XYZxyz(71.0357, 77.7188, 33.8090)
Luminance0.7772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E586 #8699F8
analogous
#F8AC86 #F8E586 #D2F886
triadic
#F8E586 #86F8E5 #E586F8
tetradic
#F8E586 #86F8AC #8699F8 #F886D2
square
#F8E586 #86F8AC #8699F8 #F886D2
split-complementary
#F8E586 #86D2F8 #AC86F8
monochromatic
#F1CC12 #F5D94C #F8E586 #FBF1C0 #FDF9E2

Accessibility & contrast

On white

1.27
#F8E586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.54
#F8E586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E586
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E586#FFFFFF#000000##000000
##F8E5861.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E07E
Deuteranopia (green-blind)
#FBE78A
Tritanopia (blue-blind)
#FFD9CE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f8e586;
/* rgb */ color: rgb(248, 229, 134);
/* oklch */ color: oklch(91.7% 0.118 98.3);
Tailwind
colors: {
  custom: {
    50: '#fcedab',
    500: '#f8e586',
    950: '#000000',
  },
}
SCSS
$custom: #f8e586;
$custom-light: #fcedab;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e586",
  "rgb": {
    "r": 248,
    "g": 229,
    "b": 134
  },
  "hsl": {
    "h": 50,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.91737,
    "c": 0.1177,
    "h": 98.3
  },
  "luminance": 0.77716
}

Semantic roles & 50–950 ramp

primary
#F8E586
secondary
#4D63D6
accent
#26E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F8E586

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

Preview Lab → · Contrast checker → · Palette generator →

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