#F8E46E#F8E46E

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

Color values

HEX#F8E46E
RGBrgb(248, 228, 110)
HSLhsl(51, 91%, 70%)
HSVhsv(51, 56%, 97%)
CMYKcmyk(0%, 8.1%, 55.6%, 2.7%)
CIE-LABlab(90.12, -7.47, 59.08)
CIE-LCHlch(90.12, 59.55, 97.21°)
OKLaboklab(91.23% -0.0238 0.1377)
OKLCHoklch(91.23% 0.14 99.8)
XYZxyz(69.2717, 76.5718, 25.8798)
Luminance0.7657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E46E #6E82F8
analogous
#F89F6E #F8E46E #C7F86E
triadic
#F8E46E #6EF8E4 #E46EF8
tetradic
#F8E46E #6EF89F #6E82F8 #F86EC7
square
#F8E46E #6EF89F #6E82F8 #F86EC7
split-complementary
#F8E46E #6EC7F8 #9F6EF8
monochromatic
#E1C20B #F5D934 #F8E46E #FBEFA8 #FEFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8E46E#FFFFFF#000000##000000
##F8E46E1.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)
#F7DE62
Deuteranopia (green-blind)
#FCE674
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f8e46e;
/* rgb */ color: rgb(248, 228, 110);
/* oklch */ color: oklch(91.2% 0.140 99.8);
Tailwind
colors: {
  custom: {
    50: '#fdec9b',
    500: '#f8e46e',
    950: '#000000',
  },
}
SCSS
$custom: #f8e46e;
$custom-light: #fdec9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e46e",
  "rgb": {
    "r": 248,
    "g": 228,
    "b": 110
  },
  "hsl": {
    "h": 51.304,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91231,
    "c": 0.13974,
    "h": 99.8
  },
  "luminance": 0.76569
}

Semantic roles & 50–950 ramp

primary
#F8E46E
secondary
#384ED3
accent
#21E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E46E

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

Preview Lab → · Contrast checker → · Palette generator →

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