#F8E673#F8E673

#F8E673 is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.7% C 0.137 H 100.5°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#F8E673
RGBrgb(248, 230, 115)
HSLhsl(52, 90%, 71%)
HSVhsv(52, 54%, 97%)
CMYKcmyk(0%, 7.3%, 53.6%, 2.7%)
CIE-LABlab(90.68, -8.09, 57.46)
CIE-LCHlch(90.68, 58.02, 98.01°)
OKLaboklab(91.69% -0.0251 0.1347)
OKLCHoklch(91.69% 0.137 100.5)
XYZxyz(70.1051, 77.7905, 27.5386)
Luminance0.7779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E673 #7385F8
analogous
#F8A373 #F8E673 #C7F873
triadic
#F8E673 #73F8E6 #E673F8
tetradic
#F8E673 #73F8A3 #7385F8 #F873C7
square
#F8E673 #73F8A3 #7385F8 #F873C7
split-complementary
#F8E673 #73C7F8 #A373F8
monochromatic
#E5C80B #F5DC39 #F8E673 #FBF0AD #FEFAE2

Accessibility & contrast

On white

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

On black

16.56
#F8E673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E673
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E673#FFFFFF#000000##000000
##F8E6731.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8e673;
/* rgb */ color: rgb(248, 230, 115);
/* oklch */ color: oklch(91.7% 0.137 100.5);
Tailwind
colors: {
  custom: {
    50: '#fded9e',
    500: '#f8e673',
    950: '#000000',
  },
}
SCSS
$custom: #f8e673;
$custom-light: #fded9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e673",
  "rgb": {
    "r": 248,
    "g": 230,
    "b": 115
  },
  "hsl": {
    "h": 51.88,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91692,
    "c": 0.13701,
    "h": 100.5
  },
  "luminance": 0.77788
}

Semantic roles & 50–950 ramp

primary
#F8E673
secondary
#3C50D3
accent
#1FE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E673

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

Preview Lab → · Contrast checker → · Palette generator →

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