#F8F66A#F8F66A

#F8F66A is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.9% C 0.160 H 108.3°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#F8F66A
RGBrgb(248, 246, 106)
HSLhsl(59, 91%, 69%)
HSVhsv(59, 57%, 97%)
CMYKcmyk(0%, 0.8%, 57.3%, 2.7%)
CIE-LABlab(94.70, -16.62, 66.00)
CIE-LCHlch(94.70, 68.06, 104.14°)
OKLaboklab(94.86% -0.0504 0.152)
OKLCHoklch(94.86% 0.16 108.3)
XYZxyz(74.2709, 86.9107, 26.4960)
Luminance0.8691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F66A #6A6CF8
analogous
#F8AF6A #F8F66A #B3F86A
triadic
#F8F66A #6AF8F6 #F66AF8
tetradic
#F8F66A #6AF8AF #6A6CF8 #F86AB3
square
#F8F66A #6AF8AF #6A6CF8 #F86AB3
split-complementary
#F8F66A #6AB3F8 #AF6AF8
monochromatic
#DDDA0A #F5F230 #F8F66A #FBFAA4 #FDFDDF

Accessibility & contrast

On white

1.14
#F8F66A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.38
#F8F66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F66A
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F66A#FFFFFF#000000##000000
##F8F66A1.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5B
Deuteranopia (green-blind)
#FFF272
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f66a;
/* rgb */ color: rgb(248, 246, 106);
/* oklch */ color: oklch(94.9% 0.160 108.3);
Tailwind
colors: {
  custom: {
    50: '#fdf999',
    500: '#f8f66a',
    950: '#000000',
  },
}
SCSS
$custom: #f8f66a;
$custom-light: #fdf999;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f66a",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 106
  },
  "hsl": {
    "h": 59.155,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.94857,
    "c": 0.16017,
    "h": 108.3
  },
  "luminance": 0.86909
}

Semantic roles & 50–950 ramp

primary
#F8F66A
secondary
#3436D2
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F66A

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

Preview Lab → · Contrast checker → · Palette generator →

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