#F9EF8D#F9EF8D

#F9EF8D is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.9% C 0.120 H 103.3°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#F9EF8D
RGBrgb(249, 239, 141)
HSLhsl(54, 90%, 76%)
HSVhsv(54, 43%, 98%)
CMYKcmyk(0%, 4%, 43.4%, 2.4%)
CIE-LABlab(93.36, -9.88, 48.45)
CIE-LCHlch(93.36, 49.45, 101.53°)
OKLaboklab(93.94% -0.0277 0.1169)
OKLCHoklch(93.94% 0.12 103.3)
XYZxyz(74.7428, 83.7979, 37.4315)
Luminance0.8380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EF8D #8D97F9
analogous
#F9B98D #F9EF8D #CDF98D
triadic
#F9EF8D #8DF9EF #EF8DF9
tetradic
#F9EF8D #8DF9B9 #8D97F9 #F98DCD
square
#F9EF8D #8DF9B9 #8D97F9 #F98DCD
split-complementary
#F9EF8D #8DCDF9 #B98DF9
monochromatic
#F3DF19 #F6E753 #F9EF8D #FCF7C7 #FDFBE2

Accessibility & contrast

On white

1.18
#F9EF8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.76
#F9EF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EF8D
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EF8D#FFFFFF#000000##000000
##F9EF8D1.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE985
Deuteranopia (green-blind)
#FFEE91
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f9ef8d;
/* rgb */ color: rgb(249, 239, 141);
/* oklch */ color: oklch(93.9% 0.120 103.3);
Tailwind
colors: {
  custom: {
    50: '#fdf4b0',
    500: '#f9ef8d',
    950: '#000000',
  },
}
SCSS
$custom: #f9ef8d;
$custom-light: #fdf4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ef8d",
  "rgb": {
    "r": 249,
    "g": 239,
    "b": 141
  },
  "hsl": {
    "h": 54.444,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.93935,
    "c": 0.12015,
    "h": 103.3
  },
  "luminance": 0.83796
}

Semantic roles & 50–950 ramp

primary
#F9EF8D
secondary
#525FD8
accent
#15E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #F9EF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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