#FFFFB7#FFFFB7

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

Color values

HEX#FFFFB7
RGBrgb(255, 255, 183)
HSLhsl(60, 100%, 86%)
HSVhsv(60, 28%, 100%)
CMYKcmyk(0%, 0%, 28.2%, 0%)
CIE-LABlab(98.51, -10.83, 34.52)
CIE-LCHlch(98.51, 36.18, 107.42°)
OKLaboklab(98.34% -0.028 0.0864)
OKLCHoklch(98.34% 0.091 108)
XYZxyz(85.5475, 96.2002, 58.8525)
Luminance0.9620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFFB7 #B7B7FF
analogous
#FFDBB7 #FFFFB7 #DBFFB7
triadic
#FFFFB7 #B7FFFF #FFB7FF
tetradic
#FFFFB7 #B7FFDB #B7B7FF #FFB7DB
square
#FFFFB7 #B7FFDB #B7B7FF #FFB7DB
split-complementary
#FFFFB7 #B7DBFF #DBB7FF
monochromatic
#FFFF3D #FFFF7A #FFFFB7 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

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

On black

20.24
#FFFFB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFFB7
20.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFFB7#FFFFFF#000000##000000
##FFFFB71.001.0420.2420.24
#FFFFFF1.041.0021.0021.00
#00000020.2421.001.001.00
##00000020.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffffb7;
/* rgb */ color: rgb(255, 255, 183);
/* oklch */ color: oklch(98.3% 0.091 108.0);
Tailwind
colors: {
  custom: {
    50: '#ffffcd',
    500: '#ffffb7',
    950: '#000000',
  },
}
SCSS
$custom: #ffffb7;
$custom-light: #ffffcd;
$custom-dark: #000000;
JSON
{
  "hex": "#ffffb7",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 183
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 85.882
  },
  "oklch": {
    "l": 0.98335,
    "c": 0.09079,
    "h": 108
  },
  "luminance": 0.96199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFFB7

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

Preview Lab → · Contrast checker → · Palette generator →

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