#F9E781#F9E781

#F9E781 is a very light, vivid yellow. Relative luminance 0.789; OKLCH L 92.2% C 0.125 H 99.5°. Best body text is #000000 at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#F9E781
RGBrgb(249, 231, 129)
HSLhsl(51, 91%, 74%)
HSVhsv(51, 48%, 98%)
CMYKcmyk(0%, 7.2%, 48.2%, 2.4%)
CIE-LABlab(91.18, -7.02, 51.52)
CIE-LCHlch(91.18, 52.00, 97.76°)
OKLaboklab(92.16% -0.0206 0.1229)
OKLCHoklch(92.16% 0.125 99.5)
XYZxyz(71.6073, 78.8791, 32.2178)
Luminance0.7888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E781 #8193F9
analogous
#F9AB81 #F9E781 #CFF981
triadic
#F9E781 #81F9E7 #E781F9
tetradic
#F9E781 #81F9AB #8193F9 #F981CF
square
#F9E781 #81F9AB #8193F9 #F981CF
split-complementary
#F9E781 #81CFF9 #AB81F9
monochromatic
#F3D10C #F6DC47 #F9E781 #FCF2BB #FEF9E2

Accessibility & contrast

On white

1.25
#F9E781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.78
#F9E781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E781
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E781#FFFFFF#000000##000000
##F9E7811.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E278
Deuteranopia (green-blind)
#FDE985
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f9e781;
/* rgb */ color: rgb(249, 231, 129);
/* oklch */ color: oklch(92.2% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#fdeea7',
    500: '#f9e781',
    950: '#000000',
  },
}
SCSS
$custom: #f9e781;
$custom-light: #fdeea7;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e781",
  "rgb": {
    "r": 249,
    "g": 231,
    "b": 129
  },
  "hsl": {
    "h": 51,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.92155,
    "c": 0.12463,
    "h": 99.5
  },
  "luminance": 0.78877
}

Semantic roles & 50–950 ramp

primary
#F9E781
secondary
#485DD6
accent
#22E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F9E781

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

Preview Lab → · Contrast checker → · Palette generator →

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