#F8E388#F8E388

#F8E388 is a very light, moderate yellow. Relative luminance 0.767; OKLCH L 91.4% C 0.114 H 96.7°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#F8E388
RGBrgb(248, 227, 136)
HSLhsl(49, 89%, 75%)
HSVhsv(49, 45%, 97%)
CMYKcmyk(0%, 8.5%, 45.2%, 2.7%)
CIE-LABlab(90.17, -4.76, 46.88)
CIE-LCHlch(90.17, 47.12, 95.80°)
OKLaboklab(91.37% -0.0133 0.1131)
OKLCHoklch(91.37% 0.114 96.7)
XYZxyz(70.6263, 76.6748, 34.3672)
Luminance0.7667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E388 #889DF8
analogous
#F8AB88 #F8E388 #D5F888
triadic
#F8E388 #88F8E3 #E388F8
tetradic
#F8E388 #88F8AB #889DF8 #F888D5
square
#F8E388 #88F8AB #889DF8 #F888D5
split-complementary
#F8E388 #88D5F8 #AB88F8
monochromatic
#F1C814 #F5D54E #F8E388 #FBF1C2 #FDF8E2

Accessibility & contrast

On white

1.29
#F8E388 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#F8E388 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E388
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E388#FFFFFF#000000##000000
##F8E3881.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF81
Deuteranopia (green-blind)
#F9E68C
Tritanopia (blue-blind)
#FFD7CD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f8e388;
/* rgb */ color: rgb(248, 227, 136);
/* oklch */ color: oklch(91.4% 0.114 96.7);
Tailwind
colors: {
  custom: {
    50: '#fcebac',
    500: '#f8e388',
    950: '#000000',
  },
}
SCSS
$custom: #f8e388;
$custom-light: #fcebac;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e388",
  "rgb": {
    "r": 248,
    "g": 227,
    "b": 136
  },
  "hsl": {
    "h": 48.75,
    "s": 88.889,
    "l": 75.294
  },
  "oklch": {
    "l": 0.91366,
    "c": 0.11387,
    "h": 96.7
  },
  "luminance": 0.76672
}

Semantic roles & 50–950 ramp

primary
#F8E388
secondary
#4E68D6
accent
#2BE600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F8E388

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

Preview Lab → · Contrast checker → · Palette generator →

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