#F9E489#F9E489

#F9E489 is a very light, moderate yellow. Relative luminance 0.774; OKLCH L 91.7% C 0.114 H 96.7°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#F9E489
RGBrgb(249, 228, 137)
HSLhsl(49, 90%, 76%)
HSVhsv(49, 45%, 98%)
CMYKcmyk(0%, 8.4%, 45%, 2.4%)
CIE-LABlab(90.52, -4.77, 46.85)
CIE-LCHlch(90.52, 47.09, 95.82°)
OKLaboklab(91.67% -0.0133 0.1131)
OKLCHoklch(91.67% 0.114 96.7)
XYZxyz(71.3276, 77.4353, 34.8513)
Luminance0.7743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E489 #899EF9
analogous
#F9AC89 #F9E489 #D6F989
triadic
#F9E489 #89F9E4 #E489F9
tetradic
#F9E489 #89F9AC #899EF9 #F989D6
square
#F9E489 #89F9AC #899EF9 #F989D6
split-complementary
#F9E489 #89D6F9 #AC89F9
monochromatic
#F3C915 #F6D74F #F9E489 #FCF1C3 #FEF8E2

Accessibility & contrast

On white

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

On black

16.49
#F9E489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E489
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E489#FFFFFF#000000##000000
##F9E4891.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E082
Deuteranopia (green-blind)
#FAE78D
Tritanopia (blue-blind)
#FFD8CE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f9e489;
/* rgb */ color: rgb(249, 228, 137);
/* oklch */ color: oklch(91.7% 0.114 96.7);
Tailwind
colors: {
  custom: {
    50: '#fdecad',
    500: '#f9e489',
    950: '#000000',
  },
}
SCSS
$custom: #f9e489;
$custom-light: #fdecad;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e489",
  "rgb": {
    "r": 249,
    "g": 228,
    "b": 137
  },
  "hsl": {
    "h": 48.75,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.91667,
    "c": 0.11385,
    "h": 96.7
  },
  "luminance": 0.77433
}

Semantic roles & 50–950 ramp

primary
#F9E489
secondary
#4F68D7
accent
#2BE600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F9E489

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

Preview Lab → · Contrast checker → · Palette generator →

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