#FEFFB3#FEFFB3

#FEFFB3 is a very light, moderate yellow. Relative luminance 0.958; OKLCH L 98.2% C 0.096 H 108.7°. Best body text is #000000 at 20.17:1 contrast (WCAG AA passes).

Color values

HEX#FEFFB3
RGBrgb(254, 255, 179)
HSLhsl(61, 100%, 85%)
HSVhsv(61, 30%, 100%)
CMYKcmyk(0.4%, 0%, 29.8%, 0%)
CIE-LABlab(98.37, -11.69, 36.31)
CIE-LCHlch(98.37, 38.15, 107.85°)
OKLaboklab(98.18% -0.0306 0.0905)
OKLCHoklch(98.18% 0.096 108.7)
XYZxyz(84.7701, 95.8468, 56.6737)
Luminance0.9585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFFB3 #B4B3FF
analogous
#FFDAB3 #FEFFB3 #D8FFB3
triadic
#FEFFB3 #B3FEFF #FFB3FE
tetradic
#FEFFB3 #B3FFDA #B4B3FF #FFB3D8
square
#FEFFB3 #B3FFDA #B4B3FF #FFB3D8
split-complementary
#FEFFB3 #B3D8FF #DAB3FF
monochromatic
#FCFF39 #FDFF76 #FEFFB3 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

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

On black

20.17
#FEFFB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFFB3
20.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFFB3#FFFFFF#000000##000000
##FEFFB31.001.0420.1720.17
#FFFFFF1.041.0021.0021.00
#00000020.1721.001.001.00
##00000020.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #feffb3;
/* rgb */ color: rgb(254, 255, 179);
/* oklch */ color: oklch(98.2% 0.096 108.7);
Tailwind
colors: {
  custom: {
    50: '#ffffca',
    500: '#feffb3',
    950: '#000000',
  },
}
SCSS
$custom: #feffb3;
$custom-light: #ffffca;
$custom-dark: #000000;
JSON
{
  "hex": "#feffb3",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 179
  },
  "hsl": {
    "h": 60.789,
    "s": 100,
    "l": 85.098
  },
  "oklch": {
    "l": 0.98183,
    "c": 0.09555,
    "h": 108.7
  },
  "luminance": 0.95846
}

Semantic roles & 50–950 ramp

primary
#FEFFB3
secondary
#7270E6
accent
#00E603
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181813
muted
#868682

Preview Lab

Preview with #FEFFB3

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

Preview Lab → · Contrast checker → · Palette generator →

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