#F8E46A#F8E46A

#F8E46A is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 91.2% C 0.143 H 100.1°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#F8E46A
RGBrgb(248, 228, 106)
HSLhsl(52, 91%, 69%)
HSVhsv(52, 57%, 97%)
CMYKcmyk(0%, 8.1%, 57.3%, 2.7%)
CIE-LABlab(90.08, -7.76, 60.83)
CIE-LCHlch(90.08, 61.33, 97.27°)
OKLaboklab(91.19% -0.0251 0.141)
OKLCHoklch(91.19% 0.143 100.1)
XYZxyz(69.0589, 76.4866, 24.7586)
Luminance0.7648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E46A #6A7EF8
analogous
#F89D6A #F8E46A #C5F86A
triadic
#F8E46A #6AF8E4 #E46AF8
tetradic
#F8E46A #6AF89D #6A7EF8 #F86AC5
square
#F8E46A #6AF89D #6A7EF8 #F86AC5
split-complementary
#F8E46A #6AC5F8 #9D6AF8
monochromatic
#DDC00A #F5D930 #F8E46A #FBEFA4 #FDF9DF

Accessibility & contrast

On white

1.29
#F8E46A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.30
#F8E46A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E46A
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E46A#FFFFFF#000000##000000
##F8E46A1.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE5D
Deuteranopia (green-blind)
#FDE670
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f8e46a;
/* rgb */ color: rgb(248, 228, 106);
/* oklch */ color: oklch(91.2% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#fdec98',
    500: '#f8e46a',
    950: '#000000',
  },
}
SCSS
$custom: #f8e46a;
$custom-light: #fdec98;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e46a",
  "rgb": {
    "r": 248,
    "g": 228,
    "b": 106
  },
  "hsl": {
    "h": 51.549,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91187,
    "c": 0.14322,
    "h": 100.1
  },
  "luminance": 0.76484
}

Semantic roles & 50–950 ramp

primary
#F8E46A
secondary
#344AD2
accent
#20E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E46A

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

Preview Lab → · Contrast checker → · Palette generator →

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