#F8E286#F8E286

#F8E286 is a very light, moderate yellow. Relative luminance 0.761; OKLCH L 91.1% C 0.115 H 96.3°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#F8E286
RGBrgb(248, 226, 134)
HSLhsl(48, 89%, 75%)
HSVhsv(48, 46%, 97%)
CMYKcmyk(0%, 8.9%, 46%, 2.7%)
CIE-LABlab(89.89, -4.45, 47.51)
CIE-LCHlch(89.89, 47.72, 95.35°)
OKLaboklab(91.14% -0.0126 0.1144)
OKLCHoklch(91.14% 0.115 96.3)
XYZxyz(70.2128, 76.0730, 33.5347)
Luminance0.7607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E286 #869CF8
analogous
#F8A986 #F8E286 #D5F886
triadic
#F8E286 #86F8E2 #E286F8
tetradic
#F8E286 #86F8A9 #869CF8 #F886D5
square
#F8E286 #86F8A9 #869CF8 #F886D5
split-complementary
#F8E286 #86D5F8 #A986F8
monochromatic
#F1C612 #F5D44C #F8E286 #FBF0C0 #FDF8E2

Accessibility & contrast

On white

1.30
#F8E286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#F8E286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E286
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E286#FFFFFF#000000##000000
##F8E2861.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DE7F
Deuteranopia (green-blind)
#F9E58A
Tritanopia (blue-blind)
#FFD6CC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f8e286;
/* rgb */ color: rgb(248, 226, 134);
/* oklch */ color: oklch(91.1% 0.115 96.3);
Tailwind
colors: {
  custom: {
    50: '#fceaab',
    500: '#f8e286',
    950: '#000000',
  },
}
SCSS
$custom: #f8e286;
$custom-light: #fceaab;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e286",
  "rgb": {
    "r": 248,
    "g": 226,
    "b": 134
  },
  "hsl": {
    "h": 48.421,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.91137,
    "c": 0.11506,
    "h": 96.3
  },
  "luminance": 0.7607
}

Semantic roles & 50–950 ramp

primary
#F8E286
secondary
#4D67D6
accent
#2CE600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F8E286

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

Preview Lab → · Contrast checker → · Palette generator →

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