#F8E681#F8E681

#F8E681 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.9% C 0.124 H 99.4°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#F8E681
RGBrgb(248, 230, 129)
HSLhsl(51, 89%, 74%)
HSVhsv(51, 48%, 97%)
CMYKcmyk(0%, 7.3%, 48%, 2.7%)
CIE-LABlab(90.84, -6.91, 51.09)
CIE-LCHlch(90.84, 51.56, 97.71°)
OKLaboklab(91.87% -0.0202 0.122)
OKLCHoklch(91.87% 0.124 99.4)
XYZxyz(70.9727, 78.1376, 32.1081)
Luminance0.7813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E681 #8193F8
analogous
#F8AB81 #F8E681 #CFF881
triadic
#F8E681 #81F8E6 #E681F8
tetradic
#F8E681 #81F8AB #8193F8 #F881CF
square
#F8E681 #81F8AB #8193F8 #F881CF
split-complementary
#F8E681 #81CFF8 #AB81F8
monochromatic
#F1CF0D #F5DA47 #F8E681 #FBF2BB #FDF9E2

Accessibility & contrast

On white

1.26
#F8E681 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.63
#F8E681 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E681
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E681#FFFFFF#000000##000000
##F8E6811.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E178
Deuteranopia (green-blind)
#FCE885
Tritanopia (blue-blind)
#FFD9CE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f8e681;
/* rgb */ color: rgb(248, 230, 129);
/* oklch */ color: oklch(91.9% 0.124 99.4);
Tailwind
colors: {
  custom: {
    50: '#fdeda7',
    500: '#f8e681',
    950: '#000000',
  },
}
SCSS
$custom: #f8e681;
$custom-light: #fdeda7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e681",
  "rgb": {
    "r": 248,
    "g": 230,
    "b": 129
  },
  "hsl": {
    "h": 50.924,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.91868,
    "c": 0.12366,
    "h": 99.4
  },
  "luminance": 0.78135
}

Semantic roles & 50–950 ramp

primary
#F8E681
secondary
#485ED5
accent
#23E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F8E681

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

Preview Lab → · Contrast checker → · Palette generator →

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