#F8E16B#F8E16B

#F8E16B is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.6% C 0.140 H 98.4°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#F8E16B
RGBrgb(248, 225, 107)
HSLhsl(50, 91%, 70%)
HSVhsv(50, 57%, 97%)
CMYKcmyk(0%, 9.3%, 56.9%, 2.7%)
CIE-LABlab(89.33, -6.19, 59.53)
CIE-LCHlch(89.33, 59.85, 95.93°)
OKLaboklab(90.59% -0.0205 0.1383)
OKLCHoklch(90.59% 0.14 98.4)
XYZxyz(68.2930, 74.8713, 24.7614)
Luminance0.7487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E16B #6B82F8
analogous
#F89B6B #F8E16B #C8F86B
triadic
#F8E16B #6BF8E1 #E16BF8
tetradic
#F8E16B #6BF89B #6B82F8 #F86BC8
square
#F8E16B #6BF89B #6B82F8 #F86BC8
split-complementary
#F8E16B #6BC8F8 #9B6BF8
monochromatic
#DEBC0B #F5D531 #F8E16B #FBEDA5 #FEF9E0

Accessibility & contrast

On white

1.31
#F8E16B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#F8E16B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E16B
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E16B#FFFFFF#000000##000000
##F8E16B1.001.3115.9715.97
#FFFFFF1.311.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC5F
Deuteranopia (green-blind)
#FAE471
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f8e16b;
/* rgb */ color: rgb(248, 225, 107);
/* oklch */ color: oklch(90.6% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#fdea99',
    500: '#f8e16b',
    950: '#000000',
  },
}
SCSS
$custom: #f8e16b;
$custom-light: #fdea99;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e16b",
  "rgb": {
    "r": 248,
    "g": 225,
    "b": 107
  },
  "hsl": {
    "h": 50.213,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90594,
    "c": 0.13983,
    "h": 98.4
  },
  "luminance": 0.74868
}

Semantic roles & 50–950 ramp

primary
#F8E16B
secondary
#354FD2
accent
#25E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E16B

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

Preview Lab → · Contrast checker → · Palette generator →

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