#F8E672#F8E672

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

Color values

HEX#F8E672
RGBrgb(248, 230, 114)
HSLhsl(52, 91%, 71%)
HSVhsv(52, 54%, 97%)
CMYKcmyk(0%, 7.3%, 54%, 2.7%)
CIE-LABlab(90.67, -8.16, 57.90)
CIE-LCHlch(90.67, 58.48, 98.03°)
OKLaboklab(91.68% -0.0254 0.1356)
OKLCHoklch(91.68% 0.138 100.6)
XYZxyz(70.0478, 77.7676, 27.2372)
Luminance0.7776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E672 #7284F8
analogous
#F8A372 #F8E672 #C7F872
triadic
#F8E672 #72F8E6 #E672F8
tetradic
#F8E672 #72F8A3 #7284F8 #F872C7
square
#F8E672 #72F8A3 #7284F8 #F872C7
split-complementary
#F8E672 #72C7F8 #A372F8
monochromatic
#E4C70B #F5DC38 #F8E672 #FBF0AC #FEFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8E672#FFFFFF#000000##000000
##F8E6721.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)
#F8E067
Deuteranopia (green-blind)
#FEE877
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f8e672;
/* rgb */ color: rgb(248, 230, 114);
/* oklch */ color: oklch(91.7% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#fded9e',
    500: '#f8e672',
    950: '#000000',
  },
}
SCSS
$custom: #f8e672;
$custom-light: #fded9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e672",
  "rgb": {
    "r": 248,
    "g": 230,
    "b": 114
  },
  "hsl": {
    "h": 51.94,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.9168,
    "c": 0.13792,
    "h": 100.6
  },
  "luminance": 0.77765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8E672

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

Preview Lab → · Contrast checker → · Palette generator →

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