#F8F16D#F8F16D

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

Color values

HEX#F8F16D
RGBrgb(248, 241, 109)
HSLhsl(57, 91%, 70%)
HSVhsv(57, 56%, 97%)
CMYKcmyk(0%, 2.8%, 56%, 2.7%)
CIE-LABlab(93.44, -13.97, 63.30)
CIE-LCHlch(93.44, 64.82, 102.45°)
OKLaboklab(93.86% -0.0425 0.1466)
OKLCHoklch(93.86% 0.153 106.2)
XYZxyz(72.9292, 83.9734, 26.8319)
Luminance0.8397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F16D #6D74F8
analogous
#F8AB6D #F8F16D #BAF86D
triadic
#F8F16D #6DF8F1 #F16DF8
tetradic
#F8F16D #6DF8AB #6D74F8 #F86DBA
square
#F8F16D #6DF8AB #6D74F8 #F86DBA
split-complementary
#F8F16D #6DBAF8 #AB6DF8
monochromatic
#E0D50B #F5EB33 #F8F16D #FBF7A7 #FEFCE2

Accessibility & contrast

On white

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

On black

17.79
#F8F16D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F16D
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F16D#FFFFFF#000000##000000
##F8F16D1.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f16d;
/* rgb */ color: rgb(248, 241, 109);
/* oklch */ color: oklch(93.9% 0.153 106.2);
Tailwind
colors: {
  custom: {
    50: '#fdf59b',
    500: '#f8f16d',
    950: '#000000',
  },
}
SCSS
$custom: #f8f16d;
$custom-light: #fdf59b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f16d",
  "rgb": {
    "r": 248,
    "g": 241,
    "b": 109
  },
  "hsl": {
    "h": 56.978,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.93861,
    "c": 0.15268,
    "h": 106.2
  },
  "luminance": 0.83971
}

Semantic roles & 50–950 ramp

primary
#F8F16D
secondary
#373FD2
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F16D

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

Preview Lab → · Contrast checker → · Palette generator →

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