#F8E581#F8E581

#F8E581 is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.7% C 0.123 H 98.8°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#F8E581
RGBrgb(248, 229, 129)
HSLhsl(50, 89%, 74%)
HSVhsv(50, 48%, 97%)
CMYKcmyk(0%, 7.7%, 48%, 2.7%)
CIE-LABlab(90.59, -6.41, 50.78)
CIE-LCHlch(90.59, 51.18, 97.20°)
OKLaboklab(91.67% -0.0188 0.1213)
OKLCHoklch(91.67% 0.123 98.8)
XYZxyz(70.6952, 77.5826, 32.0157)
Luminance0.7758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E581 #8194F8
analogous
#F8AA81 #F8E581 #D0F881
triadic
#F8E581 #81F8E5 #E581F8
tetradic
#F8E581 #81F8AA #8194F8 #F881D0
square
#F8E581 #81F8AA #8194F8 #F881D0
split-complementary
#F8E581 #81D0F8 #AA81F8
monochromatic
#F1CD0D #F5D947 #F8E581 #FBF1BB #FDF9E2

Accessibility & contrast

On white

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

On black

16.52
#F8E581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E581
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E581#FFFFFF#000000##000000
##F8E5811.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E079
Deuteranopia (green-blind)
#FCE785
Tritanopia (blue-blind)
#FFD8CD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f8e581;
/* rgb */ color: rgb(248, 229, 129);
/* oklch */ color: oklch(91.7% 0.123 98.8);
Tailwind
colors: {
  custom: {
    50: '#fdeda7',
    500: '#f8e581',
    950: '#000000',
  },
}
SCSS
$custom: #f8e581;
$custom-light: #fdeda7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e581",
  "rgb": {
    "r": 248,
    "g": 229,
    "b": 129
  },
  "hsl": {
    "h": 50.42,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.91668,
    "c": 0.12275,
    "h": 98.8
  },
  "luminance": 0.7758
}

Semantic roles & 50–950 ramp

primary
#F8E581
secondary
#485FD5
accent
#25E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F8E581

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

Preview Lab → · Contrast checker → · Palette generator →

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