#F8F86E#F8F86E

#F8F86E is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.3% C 0.159 H 109.1°. Best body text is #000000 at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#F8F86E
RGBrgb(248, 248, 110)
HSLhsl(60, 91%, 70%)
HSVhsv(60, 56%, 97%)
CMYKcmyk(0%, 0%, 55.6%, 2.7%)
CIE-LABlab(95.25, -17.31, 64.90)
CIE-LCHlch(95.25, 67.17, 104.93°)
OKLaboklab(95.31% -0.0519 0.1502)
OKLCHoklch(95.31% 0.159 109.1)
XYZxyz(75.0953, 88.2190, 27.8210)
Luminance0.8822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F86E #6E6EF8
analogous
#F8B36E #F8F86E #B3F86E
triadic
#F8F86E #6EF8F8 #F86EF8
tetradic
#F8F86E #6EF8B3 #6E6EF8 #F86EB3
square
#F8F86E #6EF8B3 #6E6EF8 #F86EB3
split-complementary
#F8F86E #6EB3F8 #B36EF8
monochromatic
#E1E10B #F5F534 #F8F86E #FBFBA8 #FEFEE2

Accessibility & contrast

On white

1.13
#F8F86E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.64
#F8F86E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F86E
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F86E#FFFFFF#000000##000000
##F8F86E1.001.1318.6418.64
#FFFFFF1.131.0021.0021.00
#00000018.6421.001.001.00
##00000018.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5F
Deuteranopia (green-blind)
#FFF476
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f86e;
/* rgb */ color: rgb(248, 248, 110);
/* oklch */ color: oklch(95.3% 0.159 109.1);
Tailwind
colors: {
  custom: {
    50: '#fdfa9c',
    500: '#f8f86e',
    950: '#000000',
  },
}
SCSS
$custom: #f8f86e;
$custom-light: #fdfa9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f86e",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 110
  },
  "hsl": {
    "h": 60,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.95309,
    "c": 0.1589,
    "h": 109.1
  },
  "luminance": 0.88217
}

Semantic roles & 50–950 ramp

primary
#F8F86E
secondary
#3838D3
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F86E

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

Preview Lab → · Contrast checker → · Palette generator →

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