#FFFEB3#FFFEB3

#FFFEB3 is a very light, moderate yellow. Relative luminance 0.954; OKLCH L 98.1% C 0.094 H 107.4°. Best body text is #000000 at 20.08:1 contrast (WCAG AA passes).

Color values

HEX#FFFEB3
RGBrgb(255, 254, 179)
HSLhsl(59, 100%, 85%)
HSVhsv(59, 30%, 100%)
CMYKcmyk(0%, 0.4%, 29.8%, 0%)
CIE-LABlab(98.19, -10.83, 36.09)
CIE-LCHlch(98.19, 37.68, 106.71°)
OKLaboklab(98.06% -0.0281 0.09)
OKLCHoklch(98.06% 0.094 107.4)
XYZxyz(84.8189, 95.3997, 56.5849)
Luminance0.9540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFEB3 #B3B4FF
analogous
#FFD8B3 #FFFEB3 #DAFFB3
triadic
#FFFEB3 #B3FFFE #FEB3FF
tetradic
#FFFEB3 #B3FFD8 #B3B4FF #FFB3DA
square
#FFFEB3 #B3FFD8 #B3B4FF #FFB3DA
split-complementary
#FFFEB3 #B3DAFF #D8B3FF
monochromatic
#FFFC39 #FFFD76 #FFFEB3 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

1.05
#FFFEB3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.08
#FFFEB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFEB3
20.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFEB3#FFFFFF#000000##000000
##FFFEB31.001.0520.0820.08
#FFFFFF1.051.0021.0021.00
#00000020.0821.001.001.00
##00000020.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffeb3;
/* rgb */ color: rgb(255, 254, 179);
/* oklch */ color: oklch(98.1% 0.094 107.4);
Tailwind
colors: {
  custom: {
    50: '#fffeca',
    500: '#fffeb3',
    950: '#000000',
  },
}
SCSS
$custom: #fffeb3;
$custom-light: #fffeca;
$custom-dark: #000000;
JSON
{
  "hex": "#fffeb3",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 179
  },
  "hsl": {
    "h": 59.211,
    "s": 100,
    "l": 85.098
  },
  "oklch": {
    "l": 0.98061,
    "c": 0.09429,
    "h": 107.4
  },
  "luminance": 0.95398
}

Semantic roles & 50–950 ramp

primary
#FFFEB3
secondary
#7072E6
accent
#03E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FFFEB3

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

Preview Lab → · Contrast checker → · Palette generator →

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