#F9E381#F9E381

#F9E381 is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.4% C 0.121 H 97.0°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#F9E381
RGBrgb(249, 227, 129)
HSLhsl(49, 91%, 74%)
HSVhsv(49, 48%, 98%)
CMYKcmyk(0%, 8.8%, 48.2%, 2.4%)
CIE-LABlab(90.17, -5.01, 50.29)
CIE-LCHlch(90.17, 50.53, 95.69°)
OKLaboklab(91.35% -0.0148 0.1202)
OKLCHoklch(91.35% 0.121 97)
XYZxyz(70.5006, 76.6656, 31.8489)
Luminance0.7666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E381 #8197F9
analogous
#F9A781 #F9E381 #D3F981
triadic
#F9E381 #81F9E3 #E381F9
tetradic
#F9E381 #81F9A7 #8197F9 #F981D3
square
#F9E381 #81F9A7 #8197F9 #F981D3
split-complementary
#F9E381 #81D3F9 #A781F9
monochromatic
#F3C90C #F6D647 #F9E381 #FCF0BB #FEF9E2

Accessibility & contrast

On white

1.29
#F9E381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#F9E381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E381
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E381#FFFFFF#000000##000000
##F9E3811.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF79
Deuteranopia (green-blind)
#FAE685
Tritanopia (blue-blind)
#FFD6CC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f9e381;
/* rgb */ color: rgb(249, 227, 129);
/* oklch */ color: oklch(91.4% 0.121 97.0);
Tailwind
colors: {
  custom: {
    50: '#fdeba7',
    500: '#f9e381',
    950: '#000000',
  },
}
SCSS
$custom: #f9e381;
$custom-light: #fdeba7;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e381",
  "rgb": {
    "r": 249,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 49,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91354,
    "c": 0.1211,
    "h": 97
  },
  "luminance": 0.76663
}

Semantic roles & 50–950 ramp

primary
#F9E381
secondary
#4862D6
accent
#2AE600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F9E381

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

Preview Lab → · Contrast checker → · Palette generator →

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