#F8E186#F8E186

#F8E186 is a very light, moderate yellow. Relative luminance 0.755; OKLCH L 90.9% C 0.114 H 95.6°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#F8E186
RGBrgb(248, 225, 134)
HSLhsl(48, 89%, 75%)
HSVhsv(48, 46%, 97%)
CMYKcmyk(0%, 9.3%, 46%, 2.7%)
CIE-LABlab(89.64, -3.94, 47.20)
CIE-LCHlch(89.64, 47.36, 94.77°)
OKLaboklab(90.94% -0.0111 0.1137)
OKLCHoklch(90.94% 0.114 95.6)
XYZxyz(69.9417, 75.5308, 33.4443)
Luminance0.7553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E186 #869DF8
analogous
#F8A886 #F8E186 #D6F886
triadic
#F8E186 #86F8E1 #E186F8
tetradic
#F8E186 #86F8A8 #869DF8 #F886D6
square
#F8E186 #86F8A8 #869DF8 #F886D6
split-complementary
#F8E186 #86D6F8 #A886F8
monochromatic
#F1C412 #F5D34C #F8E186 #FBEFC0 #FDF8E2

Accessibility & contrast

On white

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

On black

16.11
#F8E186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E186
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E186#FFFFFF#000000##000000
##F8E1861.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD7F
Deuteranopia (green-blind)
#F8E58A
Tritanopia (blue-blind)
#FFD5CB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f8e186;
/* rgb */ color: rgb(248, 225, 134);
/* oklch */ color: oklch(90.9% 0.114 95.6);
Tailwind
colors: {
  custom: {
    50: '#fceaab',
    500: '#f8e186',
    950: '#000000',
  },
}
SCSS
$custom: #f8e186;
$custom-light: #fceaab;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e186",
  "rgb": {
    "r": 248,
    "g": 225,
    "b": 134
  },
  "hsl": {
    "h": 47.895,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.90938,
    "c": 0.11422,
    "h": 95.6
  },
  "luminance": 0.75528
}

Semantic roles & 50–950 ramp

primary
#F8E186
secondary
#4D68D6
accent
#2EE600
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F8E186

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

Preview Lab → · Contrast checker → · Palette generator →

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