#F9E387#F9E387

#F9E387 is a very light, moderate yellow. Relative luminance 0.768; OKLCH L 91.4% C 0.115 H 96.3°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#F9E387
RGBrgb(249, 227, 135)
HSLhsl(48, 90%, 75%)
HSVhsv(48, 46%, 98%)
CMYKcmyk(0%, 8.8%, 45.8%, 2.4%)
CIE-LABlab(90.24, -4.46, 47.48)
CIE-LCHlch(90.24, 47.69, 95.37°)
OKLaboklab(91.44% -0.0126 0.1144)
OKLCHoklch(91.44% 0.115 96.3)
XYZxyz(70.9112, 76.8298, 34.0113)
Luminance0.7683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E387 #879DF9
analogous
#F9AA87 #F9E387 #D6F987
triadic
#F9E387 #87F9E3 #E387F9
tetradic
#F9E387 #87F9AA #879DF9 #F987D6
square
#F9E387 #87F9AA #879DF9 #F987D6
split-complementary
#F9E387 #87D6F9 #AA87F9
monochromatic
#F3C812 #F6D54D #F9E387 #FCF1C1 #FEF8E2

Accessibility & contrast

On white

1.28
#F9E387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#F9E387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E387
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E387#FFFFFF#000000##000000
##F9E3871.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF80
Deuteranopia (green-blind)
#FAE68B
Tritanopia (blue-blind)
#FFD7CD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f9e387;
/* rgb */ color: rgb(249, 227, 135);
/* oklch */ color: oklch(91.4% 0.115 96.3);
Tailwind
colors: {
  custom: {
    50: '#fdebab',
    500: '#f9e387',
    950: '#000000',
  },
}
SCSS
$custom: #f9e387;
$custom-light: #fdebab;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e387",
  "rgb": {
    "r": 249,
    "g": 227,
    "b": 135
  },
  "hsl": {
    "h": 48.421,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.91438,
    "c": 0.11504,
    "h": 96.3
  },
  "luminance": 0.76827
}

Semantic roles & 50–950 ramp

primary
#F9E387
secondary
#4D68D7
accent
#2CE600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F9E387

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

Preview Lab → · Contrast checker → · Palette generator →

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