#F8F660#F8F660

#F8F660 is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.8% C 0.168 H 108.5°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#F8F660
RGBrgb(248, 246, 96)
HSLhsl(59, 92%, 67%)
HSVhsv(59, 61%, 97%)
CMYKcmyk(0%, 0.8%, 61.3%, 2.7%)
CIE-LABlab(94.62, -17.28, 70.05)
CIE-LCHlch(94.62, 72.15, 103.86°)
OKLaboklab(94.76% -0.0533 0.1593)
OKLCHoklch(94.76% 0.168 108.5)
XYZxyz(73.7808, 86.7147, 23.9151)
Luminance0.8671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F660 #6062F8
analogous
#F8AA60 #F8F660 #AEF860
triadic
#F8F660 #60F8F6 #F660F8
tetradic
#F8F660 #60F8AA #6062F8 #F860AE
square
#F8F660 #60F8AA #6062F8 #F860AE
split-complementary
#F8F660 #60AEF8 #AA60F8
monochromatic
#D4D209 #F5F325 #F8F660 #FBF99B #FDFDD5

Accessibility & contrast

On white

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

On black

18.34
#F8F660 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F660
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F660#FFFFFF#000000##000000
##F8F6601.001.1418.3418.34
#FFFFFF1.141.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED4D
Deuteranopia (green-blind)
#FFF269
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8f660;
/* rgb */ color: rgb(248, 246, 96);
/* oklch */ color: oklch(94.8% 0.168 108.5);
Tailwind
colors: {
  custom: {
    50: '#fef893',
    500: '#f8f660',
    950: '#000000',
  },
}
SCSS
$custom: #f8f660;
$custom-light: #fef893;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f660",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 96
  },
  "hsl": {
    "h": 59.211,
    "s": 91.566,
    "l": 67.451
  },
  "oklch": {
    "l": 0.94764,
    "c": 0.16801,
    "h": 108.5
  },
  "luminance": 0.86713
}

Semantic roles & 50–950 ramp

primary
#F8F660
secondary
#2D2FCF
accent
#03E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F660

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

Preview Lab → · Contrast checker → · Palette generator →

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