#F8F46C#F8F46C

#F8F46C is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.5% C 0.157 H 107.5°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#F8F46C
RGBrgb(248, 244, 108)
HSLhsl(58, 91%, 70%)
HSVhsv(58, 56%, 97%)
CMYKcmyk(0%, 1.6%, 56.5%, 2.7%)
CIE-LABlab(94.20, -15.51, 64.59)
CIE-LCHlch(94.20, 66.42, 103.50°)
OKLaboklab(94.47% -0.047 0.1493)
OKLCHoklch(94.47% 0.157 107.5)
XYZxyz(73.7711, 85.7427, 26.8484)
Luminance0.8574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F46C #6C70F8
analogous
#F8AE6C #F8F46C #B6F86C
triadic
#F8F46C #6CF8F4 #F46CF8
tetradic
#F8F46C #6CF8AE #6C70F8 #F86CB6
square
#F8F46C #6CF8AE #6C70F8 #F86CB6
split-complementary
#F8F46C #6CB6F8 #AE6CF8
monochromatic
#DFD90B #F5F032 #F8F46C #FBF8A6 #FEFDE1

Accessibility & contrast

On white

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

On black

18.15
#F8F46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F46C
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F46C#FFFFFF#000000##000000
##F8F46C1.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB5D
Deuteranopia (green-blind)
#FFF174
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f46c;
/* rgb */ color: rgb(248, 244, 108);
/* oklch */ color: oklch(94.5% 0.157 107.5);
Tailwind
colors: {
  custom: {
    50: '#fdf79b',
    500: '#f8f46c',
    950: '#000000',
  },
}
SCSS
$custom: #f8f46c;
$custom-light: #fdf79b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f46c",
  "rgb": {
    "r": 248,
    "g": 244,
    "b": 108
  },
  "hsl": {
    "h": 58.286,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.94466,
    "c": 0.1565,
    "h": 107.5
  },
  "luminance": 0.85741
}

Semantic roles & 50–950 ramp

primary
#F8F46C
secondary
#363AD2
accent
#07E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F46C

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

Preview Lab → · Contrast checker → · Palette generator →

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