#F8F46B#F8F46B

#F8F46B 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.14:1 contrast (WCAG AA passes).

Color values

HEX#F8F46B
RGBrgb(248, 244, 107)
HSLhsl(58, 91%, 70%)
HSVhsv(58, 57%, 97%)
CMYKcmyk(0%, 1.6%, 56.9%, 2.7%)
CIE-LABlab(94.19, -15.58, 65.01)
CIE-LCHlch(94.19, 66.85, 103.48°)
OKLaboklab(94.46% -0.0473 0.1501)
OKLCHoklch(94.46% 0.157 107.5)
XYZxyz(73.7181, 85.7215, 26.5697)
Luminance0.8572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F46B #6B6FF8
analogous
#F8AE6B #F8F46B #B6F86B
triadic
#F8F46B #6BF8F4 #F46BF8
tetradic
#F8F46B #6BF8AE #6B6FF8 #F86BB6
square
#F8F46B #6BF8AE #6B6FF8 #F86BB6
split-complementary
#F8F46B #6BB6F8 #AE6BF8
monochromatic
#DED80B #F5F031 #F8F46B #FBF8A5 #FEFDE0

Accessibility & contrast

On white

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

On black

18.14
#F8F46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F46B
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F46B#FFFFFF#000000##000000
##F8F46B1.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f46b;
/* rgb */ color: rgb(248, 244, 107);
/* oklch */ color: oklch(94.5% 0.157 107.5);
Tailwind
colors: {
  custom: {
    50: '#fdf79a',
    500: '#f8f46b',
    950: '#000000',
  },
}
SCSS
$custom: #f8f46b;
$custom-light: #fdf79a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f46b",
  "rgb": {
    "r": 248,
    "g": 244,
    "b": 107
  },
  "hsl": {
    "h": 58.298,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.94455,
    "c": 0.15734,
    "h": 107.5
  },
  "luminance": 0.85719
}

Semantic roles & 50–950 ramp

primary
#F8F46B
secondary
#3539D2
accent
#07E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F46B

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

Preview Lab → · Contrast checker → · Palette generator →

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