#F8F46F#F8F46F

#F8F46F is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.5% C 0.154 H 107.4°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#F8F46F
RGBrgb(248, 244, 111)
HSLhsl(58, 91%, 70%)
HSVhsv(58, 55%, 97%)
CMYKcmyk(0%, 1.6%, 55.2%, 2.7%)
CIE-LABlab(94.23, -15.29, 63.32)
CIE-LCHlch(94.23, 65.14, 103.58°)
OKLaboklab(94.5% -0.0461 0.1469)
OKLCHoklch(94.5% 0.154 107.4)
XYZxyz(73.9335, 85.8076, 27.7038)
Luminance0.8581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F46F #6F73F8
analogous
#F8AF6F #F8F46F #B8F86F
triadic
#F8F46F #6FF8F4 #F46FF8
tetradic
#F8F46F #6FF8AF #6F73F8 #F86FB8
square
#F8F46F #6FF8AF #6F73F8 #F86FB8
split-complementary
#F8F46F #6FB8F8 #AF6FF8
monochromatic
#E2DB0B #F5F035 #F8F46F #FBF8A9 #FEFDE2

Accessibility & contrast

On white

1.16
#F8F46F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.16
#F8F46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F46F
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F46F#FFFFFF#000000##000000
##F8F46F1.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB61
Deuteranopia (green-blind)
#FFF176
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f46f;
/* rgb */ color: rgb(248, 244, 111);
/* oklch */ color: oklch(94.5% 0.154 107.4);
Tailwind
colors: {
  custom: {
    50: '#fdf79c',
    500: '#f8f46f',
    950: '#000000',
  },
}
SCSS
$custom: #f8f46f;
$custom-light: #fdf79c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f46f",
  "rgb": {
    "r": 248,
    "g": 244,
    "b": 111
  },
  "hsl": {
    "h": 58.248,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.94497,
    "c": 0.15396,
    "h": 107.4
  },
  "luminance": 0.85806
}

Semantic roles & 50–950 ramp

primary
#F8F46F
secondary
#383DD3
accent
#07E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F46F

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

Preview Lab → · Contrast checker → · Palette generator →

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