#FFFFB3#FFFFB3

#FFFFB3 is a very light, moderate yellow. Relative luminance 0.960; OKLCH L 98.3% C 0.095 H 108.0°. Best body text is #000000 at 20.21:1 contrast (WCAG AA passes).

Color values

HEX#FFFFB3
RGBrgb(255, 255, 179)
HSLhsl(60, 100%, 85%)
HSVhsv(60, 30%, 100%)
CMYKcmyk(0%, 0%, 29.8%, 0%)
CIE-LABlab(98.45, -11.32, 36.42)
CIE-LCHlch(98.45, 38.14, 107.27°)
OKLaboklab(98.26% -0.0296 0.0908)
OKLCHoklch(98.26% 0.095 108)
XYZxyz(85.1371, 96.0361, 56.6909)
Luminance0.9604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFFB3 #B3B3FF
analogous
#FFD9B3 #FFFFB3 #D9FFB3
triadic
#FFFFB3 #B3FFFF #FFB3FF
tetradic
#FFFFB3 #B3FFD9 #B3B3FF #FFB3D9
square
#FFFFB3 #B3FFD9 #B3B3FF #FFB3D9
split-complementary
#FFFFB3 #B3D9FF #D9B3FF
monochromatic
#FFFF39 #FFFF76 #FFFFB3 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

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

On black

20.21
#FFFFB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFFB3
20.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFFB3#FFFFFF#000000##000000
##FFFFB31.001.0420.2120.21
#FFFFFF1.041.0021.0021.00
#00000020.2121.001.001.00
##00000020.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9AE
Deuteranopia (green-blind)
#FFFCB6
Tritanopia (blue-blind)
#FFF6EB
Achromatopsia (no color)
#FBFBFB

Design tokens & code

CSS
--color: #ffffb3;
/* rgb */ color: rgb(255, 255, 179);
/* oklch */ color: oklch(98.3% 0.095 108.0);
Tailwind
colors: {
  custom: {
    50: '#ffffca',
    500: '#ffffb3',
    950: '#000000',
  },
}
SCSS
$custom: #ffffb3;
$custom-light: #ffffca;
$custom-dark: #000000;
JSON
{
  "hex": "#ffffb3",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 179
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 85.098
  },
  "oklch": {
    "l": 0.98262,
    "c": 0.09547,
    "h": 108
  },
  "luminance": 0.96035
}

Semantic roles & 50–950 ramp

primary
#FFFFB3
secondary
#7070E6
accent
#00E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181813
muted
#868682

Preview Lab

Preview with #FFFFB3

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

Preview Lab → · Contrast checker → · Palette generator →

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