#F8E671#F8E671

#F8E671 is a very light, vivid yellow. Relative luminance 0.777; OKLCH L 91.7% C 0.139 H 100.7°. Best body text is #000000 at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#F8E671
RGBrgb(248, 230, 113)
HSLhsl(52, 91%, 71%)
HSVhsv(52, 54%, 97%)
CMYKcmyk(0%, 7.3%, 54.4%, 2.7%)
CIE-LABlab(90.66, -8.24, 58.35)
CIE-LCHlch(90.66, 58.93, 98.04°)
OKLaboklab(91.67% -0.0257 0.1364)
OKLCHoklch(91.67% 0.139 100.7)
XYZxyz(69.9912, 77.7450, 26.9391)
Luminance0.7774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E671 #7183F8
analogous
#F8A271 #F8E671 #C6F871
triadic
#F8E671 #71F8E6 #E671F8
tetradic
#F8E671 #71F8A2 #7183F8 #F871C6
square
#F8E671 #71F8A2 #7183F8 #F871C6
split-complementary
#F8E671 #71C6F8 #A271F8
monochromatic
#E3C70B #F5DC37 #F8E671 #FBF0AB #FEFAE2

Accessibility & contrast

On white

1.27
#F8E671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.55
#F8E671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E671
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E671#FFFFFF#000000##000000
##F8E6711.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E066
Deuteranopia (green-blind)
#FEE777
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f8e671;
/* rgb */ color: rgb(248, 230, 113);
/* oklch */ color: oklch(91.7% 0.139 100.7);
Tailwind
colors: {
  custom: {
    50: '#fded9d',
    500: '#f8e671',
    950: '#000000',
  },
}
SCSS
$custom: #f8e671;
$custom-light: #fded9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e671",
  "rgb": {
    "r": 248,
    "g": 230,
    "b": 113
  },
  "hsl": {
    "h": 52,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91668,
    "c": 0.13882,
    "h": 100.7
  },
  "luminance": 0.77742
}

Semantic roles & 50–950 ramp

primary
#F8E671
secondary
#3A4FD3
accent
#1FE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E671

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

Preview Lab → · Contrast checker → · Palette generator →

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