#FFFB95#FFFB95

#FFFB95 is a very light, vivid yellow. Relative luminance 0.924; OKLCH L 97.0% C 0.124 H 106.5°. Best body text is #000000 at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#FFFB95
RGBrgb(255, 251, 149)
HSLhsl(58, 100%, 79%)
HSVhsv(58, 42%, 100%)
CMYKcmyk(0%, 1.6%, 41.6%, 0%)
CIE-LABlab(96.99, -12.68, 49.24)
CIE-LCHlch(96.99, 50.84, 104.44°)
OKLaboklab(96.97% -0.0354 0.1191)
OKLCHoklch(96.97% 0.124 106.5)
XYZxyz(81.1635, 92.4262, 41.9925)
Luminance0.9242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFB95 #9599FF
analogous
#FFC695 #FFFB95 #CEFF95
triadic
#FFFB95 #95FFFB #FB95FF
tetradic
#FFFB95 #95FFC6 #9599FF #FF95CE
square
#FFFB95 #95FFC6 #9599FF #FF95CE
split-complementary
#FFFB95 #95CEFF #C695FF
monochromatic
#FFF61B #FFF958 #FFFB95 #FFFDD2 #FFFEE0

Accessibility & contrast

On white

1.08
#FFFB95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.48
#FFFB95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFB95
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFB95#FFFFFF#000000##000000
##FFFB951.001.0819.4819.48
#FFFFFF1.081.0021.0021.00
#00000019.4821.001.001.00
##00000019.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF48D
Deuteranopia (green-blind)
#FFF999
Tritanopia (blue-blind)
#FFEFE2
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffb95;
/* rgb */ color: rgb(255, 251, 149);
/* oklch */ color: oklch(97.0% 0.124 106.5);
Tailwind
colors: {
  custom: {
    50: '#fffcb6',
    500: '#fffb95',
    950: '#000000',
  },
}
SCSS
$custom: #fffb95;
$custom-light: #fffcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#fffb95",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 149
  },
  "hsl": {
    "h": 57.736,
    "s": 100,
    "l": 79.216
  },
  "oklch": {
    "l": 0.96966,
    "c": 0.12423,
    "h": 106.5
  },
  "luminance": 0.92424
}

Semantic roles & 50–950 ramp

primary
#FFFB95
secondary
#575CE1
accent
#09E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFB95

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

Preview Lab → · Contrast checker → · Palette generator →

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