#F9EB8A#F9EB8A

#F9EB8A is a very light, moderate yellow. Relative luminance 0.814; OKLCH L 93.1% C 0.119 H 101.2°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#F9EB8A
RGBrgb(249, 235, 138)
HSLhsl(52, 90%, 76%)
HSVhsv(52, 45%, 98%)
CMYKcmyk(0%, 5.6%, 44.6%, 2.4%)
CIE-LABlab(92.31, -8.18, 48.59)
CIE-LCHlch(92.31, 49.27, 99.56°)
OKLaboklab(93.09% -0.0231 0.117)
OKLCHoklch(93.09% 0.119 101.2)
XYZxyz(73.3645, 81.3937, 35.8858)
Luminance0.8139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EB8A #8A98F9
analogous
#F9B38A #F9EB8A #D0F98A
triadic
#F9EB8A #8AF9EB #EB8AF9
tetradic
#F9EB8A #8AF9B3 #8A98F9 #F98AD0
square
#F9EB8A #8AF9B3 #8A98F9 #F98AD0
split-complementary
#F9EB8A #8AD0F9 #B38AF9
monochromatic
#F3D716 #F6E150 #F9EB8A #FCF5C4 #FEFAE2

Accessibility & contrast

On white

1.22
#F9EB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.28
#F9EB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EB8A
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EB8A#FFFFFF#000000##000000
##F9EB8A1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE582
Deuteranopia (green-blind)
#FFEC8E
Tritanopia (blue-blind)
#FFDFD4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f9eb8a;
/* rgb */ color: rgb(249, 235, 138);
/* oklch */ color: oklch(93.1% 0.119 101.2);
Tailwind
colors: {
  custom: {
    50: '#fdf1ae',
    500: '#f9eb8a',
    950: '#000000',
  },
}
SCSS
$custom: #f9eb8a;
$custom-light: #fdf1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f9eb8a",
  "rgb": {
    "r": 249,
    "g": 235,
    "b": 138
  },
  "hsl": {
    "h": 52.432,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.93085,
    "c": 0.11928,
    "h": 101.2
  },
  "luminance": 0.81391
}

Semantic roles & 50–950 ramp

primary
#F9EB8A
secondary
#5061D7
accent
#1DE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F9EB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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