#F9E281#F9E281

#F9E281 is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 91.2% C 0.120 H 96.4°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#F9E281
RGBrgb(249, 226, 129)
HSLhsl(49, 91%, 74%)
HSVhsv(49, 48%, 98%)
CMYKcmyk(0%, 9.2%, 48.2%, 2.4%)
CIE-LABlab(89.92, -4.51, 49.98)
CIE-LCHlch(89.92, 50.18, 95.15°)
OKLaboklab(91.15% -0.0133 0.1195)
OKLCHoklch(91.15% 0.12 96.4)
XYZxyz(70.2279, 76.1202, 31.7580)
Luminance0.7612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E281 #8198F9
analogous
#F9A681 #F9E281 #D4F981
triadic
#F9E281 #81F9E2 #E281F9
tetradic
#F9E281 #81F9A6 #8198F9 #F981D4
square
#F9E281 #81F9A6 #8198F9 #F981D4
split-complementary
#F9E281 #81D4F9 #A681F9
monochromatic
#F3C70C #F6D547 #F9E281 #FCEFBB #FEF8E2

Accessibility & contrast

On white

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

On black

16.22
#F9E281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E281
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E281#FFFFFF#000000##000000
##F9E2811.001.2916.2216.22
#FFFFFF1.291.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DE79
Deuteranopia (green-blind)
#FAE585
Tritanopia (blue-blind)
#FFD5CB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f9e281;
/* rgb */ color: rgb(249, 226, 129);
/* oklch */ color: oklch(91.2% 0.120 96.4);
Tailwind
colors: {
  custom: {
    50: '#fdeaa7',
    500: '#f9e281',
    950: '#000000',
  },
}
SCSS
$custom: #f9e281;
$custom-light: #fdeaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e281",
  "rgb": {
    "r": 249,
    "g": 226,
    "b": 129
  },
  "hsl": {
    "h": 48.5,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91154,
    "c": 0.12025,
    "h": 96.4
  },
  "luminance": 0.76117
}

Semantic roles & 50–950 ramp

primary
#F9E281
secondary
#4863D6
accent
#2CE600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F9E281

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

Preview Lab → · Contrast checker → · Palette generator →

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