#FFFEB7#FFFEB7

#FFFEB7 is a very light, moderate yellow. Relative luminance 0.956; OKLCH L 98.1% C 0.090 H 107.3°. Best body text is #000000 at 20.11:1 contrast (WCAG AA passes).

Color values

HEX#FFFEB7
RGBrgb(255, 254, 183)
HSLhsl(59, 100%, 86%)
HSVhsv(59, 28%, 100%)
CMYKcmyk(0%, 0.4%, 28.2%, 0%)
CIE-LABlab(98.26, -10.34, 34.18)
CIE-LCHlch(98.26, 35.71, 106.83°)
OKLaboklab(98.13% -0.0266 0.0856)
OKLCHoklch(98.13% 0.09 107.3)
XYZxyz(85.2294, 95.5639, 58.7464)
Luminance0.9556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFEB7 #B7B8FF
analogous
#FFDAB7 #FFFEB7 #DCFFB7
triadic
#FFFEB7 #B7FFFE #FEB7FF
tetradic
#FFFEB7 #B7FFDA #B7B8FF #FFB7DC
square
#FFFEB7 #B7FFDA #B7B8FF #FFB7DC
split-complementary
#FFFEB7 #B7DCFF #DAB7FF
monochromatic
#FFFC3D #FFFD7A #FFFEB7 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

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

On black

20.11
#FFFEB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFEB7
20.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFEB7#FFFFFF#000000##000000
##FFFEB71.001.0420.1120.11
#FFFFFF1.041.0021.0021.00
#00000020.1121.001.001.00
##00000020.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffeb7;
/* rgb */ color: rgb(255, 254, 183);
/* oklch */ color: oklch(98.1% 0.090 107.3);
Tailwind
colors: {
  custom: {
    50: '#fffecd',
    500: '#fffeb7',
    950: '#000000',
  },
}
SCSS
$custom: #fffeb7;
$custom-light: #fffecd;
$custom-dark: #000000;
JSON
{
  "hex": "#fffeb7",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 183
  },
  "hsl": {
    "h": 59.167,
    "s": 100,
    "l": 85.882
  },
  "oklch": {
    "l": 0.98134,
    "c": 0.0896,
    "h": 107.3
  },
  "luminance": 0.95563
}

Semantic roles & 50–950 ramp

primary
#FFFEB7
secondary
#7475E6
accent
#03E600
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181713
muted
#868583

Preview Lab

Preview with #FFFEB7

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

Preview Lab → · Contrast checker → · Palette generator →

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