#FEFFB5#FEFFB5

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

Color values

HEX#FEFFB5
RGBrgb(254, 255, 181)
HSLhsl(61, 100%, 85%)
HSVhsv(61, 29%, 100%)
CMYKcmyk(0.4%, 0%, 29%, 0%)
CIE-LABlab(98.40, -11.45, 35.36)
CIE-LCHlch(98.40, 37.16, 107.94°)
OKLaboklab(98.22% -0.0298 0.0883)
OKLCHoklch(98.22% 0.093 108.7)
XYZxyz(84.9739, 95.9283, 57.7468)
Luminance0.9593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFFB5 #B6B5FF
analogous
#FFDBB5 #FEFFB5 #D9FFB5
triadic
#FEFFB5 #B5FEFF #FFB5FE
tetradic
#FEFFB5 #B5FFDB #B6B5FF #FFB5D9
square
#FEFFB5 #B5FFDB #B6B5FF #FFB5D9
split-complementary
#FEFFB5 #B5D9FF #DBB5FF
monochromatic
#FCFF3B #FDFF78 #FEFFB5 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

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

On black

20.19
#FEFFB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFFB5
20.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFFB5#FFFFFF#000000##000000
##FEFFB51.001.0420.1920.19
#FFFFFF1.041.0021.0021.00
#00000020.1921.001.001.00
##00000020.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9B0
Deuteranopia (green-blind)
#FFFCB8
Tritanopia (blue-blind)
#FFF6EC
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #feffb5;
/* rgb */ color: rgb(254, 255, 181);
/* oklch */ color: oklch(98.2% 0.093 108.7);
Tailwind
colors: {
  custom: {
    50: '#ffffcb',
    500: '#feffb5',
    950: '#000000',
  },
}
SCSS
$custom: #feffb5;
$custom-light: #ffffcb;
$custom-dark: #000000;
JSON
{
  "hex": "#feffb5",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 181
  },
  "hsl": {
    "h": 60.811,
    "s": 100,
    "l": 85.49
  },
  "oklch": {
    "l": 0.9822,
    "c": 0.09322,
    "h": 108.7
  },
  "luminance": 0.95927
}

Semantic roles & 50–950 ramp

primary
#FEFFB5
secondary
#7472E6
accent
#00E603
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181813
muted
#868683

Preview Lab

Preview with #FEFFB5

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

Preview Lab → · Contrast checker → · Palette generator →

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