#FFFEB8#FFFEB8

#FFFEB8 is a very light, moderate yellow. Relative luminance 0.956; OKLCH L 98.2% C 0.088 H 107.2°. Best body text is #000000 at 20.12:1 contrast (WCAG AA passes).

Color values

HEX#FFFEB8
RGBrgb(255, 254, 184)
HSLhsl(59, 100%, 86%)
HSVhsv(59, 28%, 100%)
CMYKcmyk(0%, 0.4%, 27.8%, 0%)
CIE-LABlab(98.28, -10.21, 33.70)
CIE-LCHlch(98.28, 35.22, 106.86°)
OKLaboklab(98.15% -0.0262 0.0845)
OKLCHoklch(98.15% 0.088 107.2)
XYZxyz(85.3338, 95.6057, 59.2965)
Luminance0.9560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFEB8 #B8B9FF
analogous
#FFDAB8 #FFFEB8 #DCFFB8
triadic
#FFFEB8 #B8FFFE #FEB8FF
tetradic
#FFFEB8 #B8FFDA #B8B9FF #FFB8DC
square
#FFFEB8 #B8FFDA #B8B9FF #FFB8DC
split-complementary
#FFFEB8 #B8DCFF #DAB8FF
monochromatic
#FFFC3E #FFFD7B #FFFEB8 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

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

On black

20.12
#FFFEB8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFEB8
20.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFEB8#FFFFFF#000000##000000
##FFFEB81.001.0420.1220.12
#FFFFFF1.041.0021.0021.00
#00000020.1221.001.001.00
##00000020.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8B3
Deuteranopia (green-blind)
#FFFCBB
Tritanopia (blue-blind)
#FFF5EC
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #fffeb8;
/* rgb */ color: rgb(255, 254, 184);
/* oklch */ color: oklch(98.2% 0.088 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffecd',
    500: '#fffeb8',
    950: '#000000',
  },
}
SCSS
$custom: #fffeb8;
$custom-light: #fffecd;
$custom-dark: #000000;
JSON
{
  "hex": "#fffeb8",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 184
  },
  "hsl": {
    "h": 59.155,
    "s": 100,
    "l": 86.078
  },
  "oklch": {
    "l": 0.98153,
    "c": 0.08842,
    "h": 107.2
  },
  "luminance": 0.95604
}

Semantic roles & 50–950 ramp

primary
#FFFEB8
secondary
#7576E7
accent
#03E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181713
muted
#868583

Preview Lab

Preview with #FFFEB8

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

Preview Lab → · Contrast checker → · Palette generator →

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