#FFFEB2#FFFEB2

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

Color values

HEX#FFFEB2
RGBrgb(255, 254, 178)
HSLhsl(59, 100%, 85%)
HSVhsv(59, 30%, 100%)
CMYKcmyk(0%, 0.4%, 30.2%, 0%)
CIE-LABlab(98.18, -10.95, 36.56)
CIE-LCHlch(98.18, 38.17, 106.68°)
OKLaboklab(98.04% -0.0285 0.0911)
OKLCHoklch(98.04% 0.095 107.4)
XYZxyz(84.7182, 95.3594, 56.0542)
Luminance0.9536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFEB2 #B2B3FF
analogous
#FFD8B2 #FFFEB2 #D9FFB2
triadic
#FFFEB2 #B2FFFE #FEB2FF
tetradic
#FFFEB2 #B2FFD8 #B2B3FF #FFB2D9
square
#FFFEB2 #B2FFD8 #B2B3FF #FFB2D9
split-complementary
#FFFEB2 #B2D9FF #D8B2FF
monochromatic
#FFFC38 #FFFD75 #FFFEB2 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

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

On black

20.07
#FFFEB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFEB2
20.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFEB2#FFFFFF#000000##000000
##FFFEB21.001.0520.0720.07
#FFFFFF1.051.0021.0021.00
#00000020.0721.001.001.00
##00000020.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8AD
Deuteranopia (green-blind)
#FFFBB5
Tritanopia (blue-blind)
#FFF5EA
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #fffeb2;
/* rgb */ color: rgb(255, 254, 178);
/* oklch */ color: oklch(98.0% 0.095 107.4);
Tailwind
colors: {
  custom: {
    50: '#fffec9',
    500: '#fffeb2',
    950: '#000000',
  },
}
SCSS
$custom: #fffeb2;
$custom-light: #fffec9;
$custom-dark: #000000;
JSON
{
  "hex": "#fffeb2",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 178
  },
  "hsl": {
    "h": 59.221,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.98043,
    "c": 0.09546,
    "h": 107.4
  },
  "luminance": 0.95358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFEB2

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

Preview Lab → · Contrast checker → · Palette generator →

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