#F8F66C#F8F66C

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

Color values

HEX#F8F66C
RGBrgb(248, 246, 108)
HSLhsl(59, 91%, 70%)
HSVhsv(59, 56%, 97%)
CMYKcmyk(0%, 0.8%, 56.5%, 2.7%)
CIE-LABlab(94.72, -16.48, 65.17)
CIE-LCHlch(94.72, 67.22, 104.19°)
OKLaboklab(94.88% -0.0498 0.1505)
OKLCHoklch(94.88% 0.159 108.3)
XYZxyz(74.3761, 86.9528, 27.0501)
Luminance0.8695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F66C #6C6EF8
analogous
#F8B06C #F8F66C #B4F86C
triadic
#F8F66C #6CF8F6 #F66CF8
tetradic
#F8F66C #6CF8B0 #6C6EF8 #F86CB4
square
#F8F66C #6CF8B0 #6C6EF8 #F86CB4
split-complementary
#F8F66C #6CB4F8 #B06CF8
monochromatic
#DFDC0B #F5F232 #F8F66C #FBFAA6 #FEFDE1

Accessibility & contrast

On white

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

On black

18.39
#F8F66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F66C
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F66C#FFFFFF#000000##000000
##F8F66C1.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f66c;
/* rgb */ color: rgb(248, 246, 108);
/* oklch */ color: oklch(94.9% 0.159 108.3);
Tailwind
colors: {
  custom: {
    50: '#fdf99b',
    500: '#f8f66c',
    950: '#000000',
  },
}
SCSS
$custom: #f8f66c;
$custom-light: #fdf99b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f66c",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 108
  },
  "hsl": {
    "h": 59.143,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.94877,
    "c": 0.15852,
    "h": 108.3
  },
  "luminance": 0.86951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F66C

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

Preview Lab → · Contrast checker → · Palette generator →

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