#FFF86E#FFF86E

#FFF86E is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 95.9% C 0.158 H 106.3°. Best body text is #000000 at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#FFF86E
RGBrgb(255, 248, 110)
HSLhsl(57, 100%, 72%)
HSVhsv(57, 57%, 100%)
CMYKcmyk(0%, 2.7%, 56.9%, 0%)
CIE-LABlab(95.80, -14.53, 65.66)
CIE-LCHlch(95.80, 67.25, 102.47°)
OKLaboklab(95.88% -0.0444 0.1517)
OKLCHoklch(95.88% 0.158 106.3)
XYZxyz(77.6243, 89.5230, 27.9395)
Luminance0.8952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF86E #6E75FF
analogous
#FFAF6E #FFF86E #BEFF6E
triadic
#FFF86E #6EFFF8 #F86EFF
tetradic
#FFF86E #6EFFAF #6E75FF #FF6EBE
square
#FFF86E #6EFFAF #6E75FF #FF6EBE
split-complementary
#FFF86E #6EBEFF #AF6EFF
monochromatic
#F3E700 #FFF531 #FFF86E #FFFBAB #FFFEE0

Accessibility & contrast

On white

1.11
#FFF86E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.90
#FFF86E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF86E
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF86E#FFFFFF#000000##000000
##FFF86E1.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05F
Deuteranopia (green-blind)
#FFF676
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff86e;
/* rgb */ color: rgb(255, 248, 110);
/* oklch */ color: oklch(95.9% 0.158 106.3);
Tailwind
colors: {
  custom: {
    50: '#fffa9c',
    500: '#fff86e',
    950: '#000000',
  },
}
SCSS
$custom: #fff86e;
$custom-light: #fffa9c;
$custom-dark: #000000;
JSON
{
  "hex": "#fff86e",
  "rgb": {
    "r": 255,
    "g": 248,
    "b": 110
  },
  "hsl": {
    "h": 57.103,
    "s": 100,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95876,
    "c": 0.15803,
    "h": 106.3
  },
  "luminance": 0.89521
}

Semantic roles & 50–950 ramp

primary
#FFF86E
secondary
#363EDB
accent
#0BE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF86E

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

Preview Lab → · Contrast checker → · Palette generator →

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