#FFFFB2#FFFFB2

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

Color values

HEX#FFFFB2
RGBrgb(255, 255, 178)
HSLhsl(60, 100%, 85%)
HSVhsv(60, 30%, 100%)
CMYKcmyk(0%, 0%, 30.2%, 0%)
CIE-LABlab(98.43, -11.44, 36.90)
CIE-LCHlch(98.43, 38.63, 107.23°)
OKLaboklab(98.24% -0.0299 0.0919)
OKLCHoklch(98.24% 0.097 108.1)
XYZxyz(85.0363, 95.9957, 56.1602)
Luminance0.9599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFFB2 #B2B2FF
analogous
#FFD9B2 #FFFFB2 #D9FFB2
triadic
#FFFFB2 #B2FFFF #FFB2FF
tetradic
#FFFFB2 #B2FFD9 #B2B2FF #FFB2D9
square
#FFFFB2 #B2FFD9 #B2B2FF #FFB2D9
split-complementary
#FFFFB2 #B2D9FF #D9B2FF
monochromatic
#FFFF38 #FFFF75 #FFFFB2 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

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

On black

20.20
#FFFFB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFFB2
20.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFFB2#FFFFFF#000000##000000
##FFFFB21.001.0420.2020.20
#FFFFFF1.041.0021.0021.00
#00000020.2021.001.001.00
##00000020.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9AD
Deuteranopia (green-blind)
#FFFCB5
Tritanopia (blue-blind)
#FFF6EB
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #ffffb2;
/* rgb */ color: rgb(255, 255, 178);
/* oklch */ color: oklch(98.2% 0.097 108.1);
Tailwind
colors: {
  custom: {
    50: '#ffffc9',
    500: '#ffffb2',
    950: '#000000',
  },
}
SCSS
$custom: #ffffb2;
$custom-light: #ffffc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ffffb2",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 178
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.98244,
    "c": 0.09664,
    "h": 108.1
  },
  "luminance": 0.95994
}

Semantic roles & 50–950 ramp

primary
#FFFFB2
secondary
#7070E6
accent
#00E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FFFFB2

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

Preview Lab → · Contrast checker → · Palette generator →

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