#F9E581#F9E581

#F9E581 is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.8% C 0.123 H 98.3°. Best body text is #000000 at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#F9E581
RGBrgb(249, 229, 129)
HSLhsl(50, 91%, 74%)
HSVhsv(50, 48%, 98%)
CMYKcmyk(0%, 8%, 48.2%, 2.4%)
CIE-LABlab(90.67, -6.02, 50.90)
CIE-LCHlch(90.67, 51.26, 96.74°)
OKLaboklab(91.75% -0.0177 0.1216)
OKLCHoklch(91.75% 0.123 98.3)
XYZxyz(71.0508, 77.7660, 32.0323)
Luminance0.7776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E581 #8195F9
analogous
#F9A981 #F9E581 #D1F981
triadic
#F9E581 #81F9E5 #E581F9
tetradic
#F9E581 #81F9A9 #8195F9 #F981D1
square
#F9E581 #81F9A9 #8195F9 #F981D1
split-complementary
#F9E581 #81D1F9 #A981F9
monochromatic
#F3CD0C #F6D947 #F9E581 #FCF1BB #FEF9E2

Accessibility & contrast

On white

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

On black

16.55
#F9E581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E581
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E581#FFFFFF#000000##000000
##F9E5811.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.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: #f9e581;
/* rgb */ color: rgb(249, 229, 129);
/* oklch */ color: oklch(91.8% 0.123 98.3);
Tailwind
colors: {
  custom: {
    50: '#fdeda7',
    500: '#f9e581',
    950: '#000000',
  },
}
SCSS
$custom: #f9e581;
$custom-light: #fdeda7;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e581",
  "rgb": {
    "r": 249,
    "g": 229,
    "b": 129
  },
  "hsl": {
    "h": 50,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91754,
    "c": 0.12284,
    "h": 98.3
  },
  "luminance": 0.77763
}

Semantic roles & 50–950 ramp

primary
#F9E581
secondary
#4860D6
accent
#26E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F9E581

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

Preview Lab → · Contrast checker → · Palette generator →

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