#F9E587#F9E587

#F9E587 is a very light, moderate yellow. Relative luminance 0.779; OKLCH L 91.8% C 0.117 H 97.6°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#F9E587
RGBrgb(249, 229, 135)
HSLhsl(49, 90%, 75%)
HSVhsv(49, 46%, 98%)
CMYKcmyk(0%, 8%, 45.8%, 2.4%)
CIE-LABlab(90.75, -5.47, 48.10)
CIE-LCHlch(90.75, 48.41, 96.48°)
OKLaboklab(91.84% -0.0155 0.1158)
OKLCHoklch(91.84% 0.117 97.6)
XYZxyz(71.4614, 77.9302, 34.1947)
Luminance0.7793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E587 #879BF9
analogous
#F9AC87 #F9E587 #D4F987
triadic
#F9E587 #87F9E5 #E587F9
tetradic
#F9E587 #87F9AC #879BF9 #F987D4
square
#F9E587 #87F9AC #879BF9 #F987D4
split-complementary
#F9E587 #87D4F9 #AC87F9
monochromatic
#F3CC12 #F6D84D #F9E587 #FCF2C1 #FEF9E2

Accessibility & contrast

On white

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

On black

16.59
#F9E587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E587
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E587#FFFFFF#000000##000000
##F9E5871.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E07F
Deuteranopia (green-blind)
#FBE88B
Tritanopia (blue-blind)
#FFD9CE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f9e587;
/* rgb */ color: rgb(249, 229, 135);
/* oklch */ color: oklch(91.8% 0.117 97.6);
Tailwind
colors: {
  custom: {
    50: '#fdedab',
    500: '#f9e587',
    950: '#000000',
  },
}
SCSS
$custom: #f9e587;
$custom-light: #fdedab;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e587",
  "rgb": {
    "r": 249,
    "g": 229,
    "b": 135
  },
  "hsl": {
    "h": 49.474,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.91838,
    "c": 0.11679,
    "h": 97.6
  },
  "luminance": 0.77928
}

Semantic roles & 50–950 ramp

primary
#F9E587
secondary
#4D65D7
accent
#28E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F9E587

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

Preview Lab → · Contrast checker → · Palette generator →

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