#F8F46D#F8F46D

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

Color values

HEX#F8F46D
RGBrgb(248, 244, 109)
HSLhsl(58, 91%, 70%)
HSVhsv(58, 56%, 97%)
CMYKcmyk(0%, 1.6%, 56%, 2.7%)
CIE-LABlab(94.21, -15.44, 64.17)
CIE-LCHlch(94.21, 66.00, 103.53°)
OKLaboklab(94.48% -0.0467 0.1485)
OKLCHoklch(94.48% 0.156 107.5)
XYZxyz(73.8246, 85.7641, 27.1303)
Luminance0.8576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F46D #6D71F8
analogous
#F8AE6D #F8F46D #B7F86D
triadic
#F8F46D #6DF8F4 #F46DF8
tetradic
#F8F46D #6DF8AE #6D71F8 #F86DB7
square
#F8F46D #6DF8AE #6D71F8 #F86DB7
split-complementary
#F8F46D #6DB7F8 #AE6DF8
monochromatic
#E0DA0B #F5F033 #F8F46D #FBF8A7 #FEFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F46D#FFFFFF#000000##000000
##F8F46D1.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)
#FFEB5F
Deuteranopia (green-blind)
#FFF174
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f46d;
/* rgb */ color: rgb(248, 244, 109);
/* oklch */ color: oklch(94.5% 0.156 107.5);
Tailwind
colors: {
  custom: {
    50: '#fdf79b',
    500: '#f8f46d',
    950: '#000000',
  },
}
SCSS
$custom: #f8f46d;
$custom-light: #fdf79b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f46d",
  "rgb": {
    "r": 248,
    "g": 244,
    "b": 109
  },
  "hsl": {
    "h": 58.273,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.94476,
    "c": 0.15566,
    "h": 107.5
  },
  "luminance": 0.85762
}

Semantic roles & 50–950 ramp

primary
#F8F46D
secondary
#373BD2
accent
#07E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F46D

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

Preview Lab → · Contrast checker → · Palette generator →

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