#FFFFB5#FFFFB5

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

Color values

HEX#FFFFB5
RGBrgb(255, 255, 181)
HSLhsl(60, 100%, 85%)
HSVhsv(60, 29%, 100%)
CMYKcmyk(0%, 0%, 29%, 0%)
CIE-LABlab(98.48, -11.08, 35.47)
CIE-LCHlch(98.48, 37.16, 107.34°)
OKLaboklab(98.3% -0.0288 0.0886)
OKLCHoklch(98.3% 0.093 108)
XYZxyz(85.3409, 96.1176, 57.7640)
Luminance0.9612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFFB5 #B5B5FF
analogous
#FFDAB5 #FFFFB5 #DAFFB5
triadic
#FFFFB5 #B5FFFF #FFB5FF
tetradic
#FFFFB5 #B5FFDA #B5B5FF #FFB5DA
square
#FFFFB5 #B5FFDA #B5B5FF #FFB5DA
split-complementary
#FFFFB5 #B5DAFF #DAB5FF
monochromatic
#FFFF3B #FFFF78 #FFFFB5 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

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

On black

20.22
#FFFFB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFFB5
20.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFFB5#FFFFFF#000000##000000
##FFFFB51.001.0420.2220.22
#FFFFFF1.041.0021.0021.00
#00000020.2221.001.001.00
##00000020.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9B0
Deuteranopia (green-blind)
#FFFCB8
Tritanopia (blue-blind)
#FFF6EC
Achromatopsia (no color)
#FBFBFB

Design tokens & code

CSS
--color: #ffffb5;
/* rgb */ color: rgb(255, 255, 181);
/* oklch */ color: oklch(98.3% 0.093 108.0);
Tailwind
colors: {
  custom: {
    50: '#ffffcb',
    500: '#ffffb5',
    950: '#000000',
  },
}
SCSS
$custom: #ffffb5;
$custom-light: #ffffcb;
$custom-dark: #000000;
JSON
{
  "hex": "#ffffb5",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 181
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 85.49
  },
  "oklch": {
    "l": 0.98298,
    "c": 0.09314,
    "h": 108
  },
  "luminance": 0.96116
}

Semantic roles & 50–950 ramp

primary
#FFFFB5
secondary
#7272E6
accent
#00E600
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181813
muted
#868683

Preview Lab

Preview with #FFFFB5

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

Preview Lab → · Contrast checker → · Palette generator →

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