#FFFFB9#FFFFB9

#FFFFB9 is a very light, moderate yellow. Relative luminance 0.963; OKLCH L 98.4% C 0.088 H 107.9°. Best body text is #000000 at 20.26:1 contrast (WCAG AA passes).

Color values

HEX#FFFFB9
RGBrgb(255, 255, 185)
HSLhsl(60, 100%, 86%)
HSVhsv(60, 27%, 100%)
CMYKcmyk(0%, 0%, 27.5%, 0%)
CIE-LABlab(98.55, -10.58, 33.56)
CIE-LCHlch(98.55, 35.19, 107.50°)
OKLaboklab(98.37% -0.0272 0.0841)
OKLCHoklch(98.37% 0.088 107.9)
XYZxyz(85.7572, 96.2841, 59.9566)
Luminance0.9628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFFB9 #B9B9FF
analogous
#FFDCB9 #FFFFB9 #DCFFB9
triadic
#FFFFB9 #B9FFFF #FFB9FF
tetradic
#FFFFB9 #B9FFDC #B9B9FF #FFB9DC
square
#FFFFB9 #B9FFDC #B9B9FF #FFB9DC
split-complementary
#FFFFB9 #B9DCFF #DCB9FF
monochromatic
#FFFF3F #FFFF7C #FFFFB9 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

1.04
#FFFFB9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.26
#FFFFB9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFFB9
20.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFFB9#FFFFFF#000000##000000
##FFFFB91.001.0420.2620.26
#FFFFFF1.041.0021.0021.00
#00000020.2621.001.001.00
##00000020.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9B4
Deuteranopia (green-blind)
#FFFCBC
Tritanopia (blue-blind)
#FFF6ED
Achromatopsia (no color)
#FBFBFB

Design tokens & code

CSS
--color: #ffffb9;
/* rgb */ color: rgb(255, 255, 185);
/* oklch */ color: oklch(98.4% 0.088 107.9);
Tailwind
colors: {
  custom: {
    50: '#ffffce',
    500: '#ffffb9',
    950: '#000000',
  },
}
SCSS
$custom: #ffffb9;
$custom-light: #ffffce;
$custom-dark: #000000;
JSON
{
  "hex": "#ffffb9",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 185
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 86.275
  },
  "oklch": {
    "l": 0.98372,
    "c": 0.08843,
    "h": 107.9
  },
  "luminance": 0.96283
}

Semantic roles & 50–950 ramp

primary
#FFFFB9
secondary
#7575E7
accent
#00E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181813
muted
#868683

Preview Lab

Preview with #FFFFB9

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

Preview Lab → · Contrast checker → · Palette generator →

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