#FFFEBF#FFFEBF

#FFFEBF is a very light, moderate yellow. Relative luminance 0.959; OKLCH L 98.3% C 0.080 H 107.0°. Best body text is #000000 at 20.18:1 contrast (WCAG AA passes).

Color values

HEX#FFFEBF
RGBrgb(255, 254, 191)
HSLhsl(59, 100%, 87%)
HSVhsv(59, 25%, 100%)
CMYKcmyk(0%, 0.4%, 25.1%, 0%)
CIE-LABlab(98.40, -9.32, 30.35)
CIE-LCHlch(98.40, 31.75, 107.07°)
OKLaboklab(98.29% -0.0234 0.0766)
OKLCHoklch(98.29% 0.08 107)
XYZxyz(86.0858, 95.9065, 63.2570)
Luminance0.9590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFEBF #BFC0FF
analogous
#FFDEBF #FFFEBF #E0FFBF
triadic
#FFFEBF #BFFFFE #FEBFFF
tetradic
#FFFEBF #BFFFDE #BFC0FF #FFBFE0
square
#FFFEBF #BFFFDE #BFC0FF #FFBFE0
split-complementary
#FFFEBF #BFE0FF #DEBFFF
monochromatic
#FFFC45 #FFFD82 #FFFEBF #FFFFE0 #FFFFE0

Accessibility & contrast

On white

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

On black

20.18
#FFFEBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFEBF
20.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFEBF#FFFFFF#000000##000000
##FFFEBF1.001.0420.1820.18
#FFFFFF1.041.0021.0021.00
#00000020.1821.001.001.00
##00000020.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9BB
Deuteranopia (green-blind)
#FFFCC1
Tritanopia (blue-blind)
#FFF6ED
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #fffebf;
/* rgb */ color: rgb(255, 254, 191);
/* oklch */ color: oklch(98.3% 0.080 107.0);
Tailwind
colors: {
  custom: {
    50: '#fffed2',
    500: '#fffebf',
    950: '#000000',
  },
}
SCSS
$custom: #fffebf;
$custom-light: #fffed2;
$custom-dark: #000000;
JSON
{
  "hex": "#fffebf",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 191
  },
  "hsl": {
    "h": 59.063,
    "s": 100,
    "l": 87.451
  },
  "oklch": {
    "l": 0.98287,
    "c": 0.08007,
    "h": 107
  },
  "luminance": 0.95905
}

Semantic roles & 50–950 ramp

primary
#FFFEBF
secondary
#7B7CE8
accent
#04E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFFEBF

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

Preview Lab → · Contrast checker → · Palette generator →

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