#F9E488#F9E488

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

Color values

HEX#F9E488
RGBrgb(249, 228, 136)
HSLhsl(49, 90%, 75%)
HSVhsv(49, 45%, 98%)
CMYKcmyk(0%, 8.4%, 45.4%, 2.4%)
CIE-LABlab(90.51, -4.87, 47.32)
CIE-LCHlch(90.51, 47.57, 95.88°)
OKLaboklab(91.65% -0.0137 0.1141)
OKLCHoklch(91.65% 0.115 96.8)
XYZxyz(71.2562, 77.4067, 34.4753)
Luminance0.7740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E488 #889DF9
analogous
#F9AC88 #F9E488 #D5F988
triadic
#F9E488 #88F9E4 #E488F9
tetradic
#F9E488 #88F9AC #889DF9 #F988D5
square
#F9E488 #88F9AC #889DF9 #F988D5
split-complementary
#F9E488 #88D5F9 #AC88F9
monochromatic
#F3CA13 #F6D74E #F9E488 #FCF1C2 #FEF8E2

Accessibility & contrast

On white

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

On black

16.48
#F9E488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E488
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E488#FFFFFF#000000##000000
##F9E4881.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9e488;
/* rgb */ color: rgb(249, 228, 136);
/* oklch */ color: oklch(91.7% 0.115 96.8);
Tailwind
colors: {
  custom: {
    50: '#fdecac',
    500: '#f9e488',
    950: '#000000',
  },
}
SCSS
$custom: #f9e488;
$custom-light: #fdecac;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e488",
  "rgb": {
    "r": 249,
    "g": 228,
    "b": 136
  },
  "hsl": {
    "h": 48.85,
    "s": 90.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.91652,
    "c": 0.11488,
    "h": 96.8
  },
  "luminance": 0.77404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9E488

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

Preview Lab → · Contrast checker → · Palette generator →

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