#F8E261#F8E261

#F8E261 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.7% C 0.149 H 99.7°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#F8E261
RGBrgb(248, 226, 97)
HSLhsl(51, 92%, 68%)
HSVhsv(51, 61%, 97%)
CMYKcmyk(0%, 8.9%, 60.9%, 2.7%)
CIE-LABlab(89.49, -7.37, 64.10)
CIE-LCHlch(89.49, 64.52, 96.56°)
OKLaboklab(90.69% -0.025 0.1469)
OKLCHoklch(90.69% 0.149 99.7)
XYZxyz(68.0682, 75.2151, 22.2395)
Luminance0.7521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E261 #6177F8
analogous
#F89661 #F8E261 #C3F861
triadic
#F8E261 #61F8E2 #E261F8
tetradic
#F8E261 #61F896 #6177F8 #F861C3
square
#F8E261 #61F896 #6177F8 #F861C3
split-complementary
#F8E261 #61C3F8 #9661F8
monochromatic
#D5B709 #F5D726 #F8E261 #FBED9C #FDF8D6

Accessibility & contrast

On white

1.31
#F8E261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.04
#F8E261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E261
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E261#FFFFFF#000000##000000
##F8E2611.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC53
Deuteranopia (green-blind)
#FCE568
Tritanopia (blue-blind)
#FFD3C6
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f8e261;
/* rgb */ color: rgb(248, 226, 97);
/* oklch */ color: oklch(90.7% 0.149 99.7);
Tailwind
colors: {
  custom: {
    50: '#feea93',
    500: '#f8e261',
    950: '#000000',
  },
}
SCSS
$custom: #f8e261;
$custom-light: #feea93;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e261",
  "rgb": {
    "r": 248,
    "g": 226,
    "b": 97
  },
  "hsl": {
    "h": 51.258,
    "s": 91.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.90692,
    "c": 0.14897,
    "h": 99.7
  },
  "luminance": 0.75212
}

Semantic roles & 50–950 ramp

primary
#F8E261
secondary
#2D45D0
accent
#21E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F8E261

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

Preview Lab → · Contrast checker → · Palette generator →

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