#F9EB81#F9EB81

#F9EB81 is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 93.0% C 0.128 H 101.8°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#F9EB81
RGBrgb(249, 235, 129)
HSLhsl(53, 91%, 74%)
HSVhsv(53, 48%, 98%)
CMYKcmyk(0%, 5.6%, 48.2%, 2.4%)
CIE-LABlab(92.20, -9.01, 52.75)
CIE-LCHlch(92.20, 53.52, 99.69°)
OKLaboklab(92.96% -0.0263 0.1256)
OKLCHoklch(92.96% 0.128 101.8)
XYZxyz(72.7397, 81.1438, 32.5953)
Luminance0.8114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EB81 #818FF9
analogous
#F9AF81 #F9EB81 #CBF981
triadic
#F9EB81 #81F9EB #EB81F9
tetradic
#F9EB81 #81F9AF #818FF9 #F981CB
square
#F9EB81 #81F9AF #818FF9 #F981CB
split-complementary
#F9EB81 #81CBF9 #AF81F9
monochromatic
#F3D80C #F6E247 #F9EB81 #FCF4BB #FEFAE2

Accessibility & contrast

On white

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

On black

17.23
#F9EB81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EB81
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EB81#FFFFFF#000000##000000
##F9EB811.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE578
Deuteranopia (green-blind)
#FFEB86
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f9eb81;
/* rgb */ color: rgb(249, 235, 129);
/* oklch */ color: oklch(93.0% 0.128 101.8);
Tailwind
colors: {
  custom: {
    50: '#fdf1a8',
    500: '#f9eb81',
    950: '#000000',
  },
}
SCSS
$custom: #f9eb81;
$custom-light: #fdf1a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f9eb81",
  "rgb": {
    "r": 249,
    "g": 235,
    "b": 129
  },
  "hsl": {
    "h": 53,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.92961,
    "c": 0.12837,
    "h": 101.8
  },
  "luminance": 0.81141
}

Semantic roles & 50–950 ramp

primary
#F9EB81
secondary
#4859D6
accent
#1BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181610
muted
#868580

Preview Lab

Preview with #F9EB81

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

Preview Lab → · Contrast checker → · Palette generator →

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