#FFFFB1#FFFFB1

#FFFFB1 is a very light, moderate yellow. Relative luminance 0.960; OKLCH L 98.2% C 0.098 H 108.1°. Best body text is #000000 at 20.19:1 contrast (WCAG AA passes).

Color values

HEX#FFFFB1
RGBrgb(255, 255, 177)
HSLhsl(60, 100%, 85%)
HSVhsv(60, 31%, 100%)
CMYKcmyk(0%, 0%, 30.6%, 0%)
CIE-LABlab(98.41, -11.56, 37.38)
CIE-LCHlch(98.41, 39.12, 107.19°)
OKLaboklab(98.23% -0.0303 0.093)
OKLCHoklch(98.23% 0.098 108.1)
XYZxyz(84.9363, 95.9557, 55.6334)
Luminance0.9595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFFB1 #B1B1FF
analogous
#FFD8B1 #FFFFB1 #D8FFB1
triadic
#FFFFB1 #B1FFFF #FFB1FF
tetradic
#FFFFB1 #B1FFD8 #B1B1FF #FFB1D8
square
#FFFFB1 #B1FFD8 #B1B1FF #FFB1D8
split-complementary
#FFFFB1 #B1D8FF #D8B1FF
monochromatic
#FFFF37 #FFFF74 #FFFFB1 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

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

On black

20.19
#FFFFB1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFFB1
20.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFFB1#FFFFFF#000000##000000
##FFFFB11.001.0420.1920.19
#FFFFFF1.041.0021.0021.00
#00000020.1921.001.001.00
##00000020.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9AC
Deuteranopia (green-blind)
#FFFCB4
Tritanopia (blue-blind)
#FFF5EB
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #ffffb1;
/* rgb */ color: rgb(255, 255, 177);
/* oklch */ color: oklch(98.2% 0.098 108.1);
Tailwind
colors: {
  custom: {
    50: '#ffffc9',
    500: '#ffffb1',
    950: '#000000',
  },
}
SCSS
$custom: #ffffb1;
$custom-light: #ffffc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ffffb1",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 177
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 84.706
  },
  "oklch": {
    "l": 0.98226,
    "c": 0.0978,
    "h": 108.1
  },
  "luminance": 0.95954
}

Semantic roles & 50–950 ramp

primary
#FFFFB1
secondary
#6F6FE6
accent
#00E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FFFFB1

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

Preview Lab → · Contrast checker → · Palette generator →

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