#F8E46D#F8E46D

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

Color values

HEX#F8E46D
RGBrgb(248, 228, 109)
HSLhsl(51, 91%, 70%)
HSVhsv(51, 56%, 97%)
CMYKcmyk(0%, 8.1%, 56%, 2.7%)
CIE-LABlab(90.11, -7.54, 59.52)
CIE-LCHlch(90.11, 60.00, 97.22°)
OKLaboklab(91.22% -0.0242 0.1385)
OKLCHoklch(91.22% 0.141 99.9)
XYZxyz(69.2176, 76.5501, 25.5947)
Luminance0.7655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E46D #6D81F8
analogous
#F89F6D #F8E46D #C6F86D
triadic
#F8E46D #6DF8E4 #E46DF8
tetradic
#F8E46D #6DF89F #6D81F8 #F86DC6
square
#F8E46D #6DF89F #6D81F8 #F86DC6
split-complementary
#F8E46D #6DC6F8 #9F6DF8
monochromatic
#E0C10B #F5D933 #F8E46D #FBEFA7 #FEFAE2

Accessibility & contrast

On white

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

On black

16.31
#F8E46D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E46D
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E46D#FFFFFF#000000##000000
##F8E46D1.001.2916.3116.31
#FFFFFF1.291.0021.0021.00
#00000016.3121.001.001.00
##00000016.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8e46d;
/* rgb */ color: rgb(248, 228, 109);
/* oklch */ color: oklch(91.2% 0.141 99.9);
Tailwind
colors: {
  custom: {
    50: '#fdec9a',
    500: '#f8e46d',
    950: '#000000',
  },
}
SCSS
$custom: #f8e46d;
$custom-light: #fdec9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e46d",
  "rgb": {
    "r": 248,
    "g": 228,
    "b": 109
  },
  "hsl": {
    "h": 51.367,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.9122,
    "c": 0.14062,
    "h": 99.9
  },
  "luminance": 0.76547
}

Semantic roles & 50–950 ramp

primary
#F8E46D
secondary
#374DD2
accent
#21E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E46D

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

Preview Lab → · Contrast checker → · Palette generator →

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