#F8F16E#F8F16E

#F8F16E is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.9% C 0.152 H 106.2°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#F8F16E
RGBrgb(248, 241, 110)
HSLhsl(57, 91%, 70%)
HSVhsv(57, 56%, 97%)
CMYKcmyk(0%, 2.8%, 55.6%, 2.7%)
CIE-LABlab(93.45, -13.90, 62.87)
CIE-LCHlch(93.45, 64.39, 102.47°)
OKLaboklab(93.87% -0.0422 0.1458)
OKLCHoklch(93.87% 0.152 106.2)
XYZxyz(72.9834, 83.9951, 27.1170)
Luminance0.8399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F16E #6E75F8
analogous
#F8AC6E #F8F16E #BAF86E
triadic
#F8F16E #6EF8F1 #F16EF8
tetradic
#F8F16E #6EF8AC #6E75F8 #F86EBA
square
#F8F16E #6EF8AC #6E75F8 #F86EBA
split-complementary
#F8F16E #6EBAF8 #AC6EF8
monochromatic
#E1D60B #F5EB34 #F8F16E #FBF7A8 #FEFCE2

Accessibility & contrast

On white

1.18
#F8F16E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.80
#F8F16E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F16E
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F16E#FFFFFF#000000##000000
##F8F16E1.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE960
Deuteranopia (green-blind)
#FFEF75
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f8f16e;
/* rgb */ color: rgb(248, 241, 110);
/* oklch */ color: oklch(93.9% 0.152 106.2);
Tailwind
colors: {
  custom: {
    50: '#fdf59c',
    500: '#f8f16e',
    950: '#000000',
  },
}
SCSS
$custom: #f8f16e;
$custom-light: #fdf59c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f16e",
  "rgb": {
    "r": 248,
    "g": 241,
    "b": 110
  },
  "hsl": {
    "h": 56.957,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93871,
    "c": 0.15182,
    "h": 106.2
  },
  "luminance": 0.83993
}

Semantic roles & 50–950 ramp

primary
#F8F16E
secondary
#383FD3
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F16E

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

Preview Lab → · Contrast checker → · Palette generator →

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