#F8E86C#F8E86C

#F8E86C is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 92.0% C 0.145 H 102.0°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#F8E86C
RGBrgb(248, 232, 108)
HSLhsl(53, 91%, 70%)
HSVhsv(53, 56%, 97%)
CMYKcmyk(0%, 6.5%, 56.5%, 2.7%)
CIE-LABlab(91.12, -9.61, 61.12)
CIE-LCHlch(91.12, 61.87, 98.94°)
OKLaboklab(92.02% -0.0302 0.1419)
OKLCHoklch(92.02% 0.145 102)
XYZxyz(70.2772, 78.7550, 25.6838)
Luminance0.7875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E86C #6C7CF8
analogous
#F8A26C #F8E86C #C2F86C
triadic
#F8E86C #6CF8E8 #E86CF8
tetradic
#F8E86C #6CF8A2 #6C7CF8 #F86CC2
square
#F8E86C #6CF8A2 #6C7CF8 #F86CC2
split-complementary
#F8E86C #6CC2F8 #A26CF8
monochromatic
#DFC70B #F5DF32 #F8E86C #FBF1A6 #FEFAE1

Accessibility & contrast

On white

1.25
#F8E86C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.75
#F8E86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E86C
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E86C#FFFFFF#000000##000000
##F8E86C1.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE25F
Deuteranopia (green-blind)
#FFE972
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f8e86c;
/* rgb */ color: rgb(248, 232, 108);
/* oklch */ color: oklch(92.0% 0.145 102.0);
Tailwind
colors: {
  custom: {
    50: '#fdef9a',
    500: '#f8e86c',
    950: '#000000',
  },
}
SCSS
$custom: #f8e86c;
$custom-light: #fdef9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e86c",
  "rgb": {
    "r": 248,
    "g": 232,
    "b": 108
  },
  "hsl": {
    "h": 53.143,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92017,
    "c": 0.14503,
    "h": 102
  },
  "luminance": 0.78752
}

Semantic roles & 50–950 ramp

primary
#F8E86C
secondary
#3648D2
accent
#1AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F8E86C

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

Preview Lab → · Contrast checker → · Palette generator →

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