#FFFBA5#FFFBA5

#FFFBA5 is a very light, moderate yellow. Relative luminance 0.930; OKLCH L 97.2% C 0.107 H 105.9°. Best body text is #000000 at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#FFFBA5
RGBrgb(255, 251, 165)
HSLhsl(57, 100%, 82%)
HSVhsv(57, 35%, 100%)
CMYKcmyk(0%, 1.6%, 35.3%, 0%)
CIE-LABlab(97.22, -10.99, 41.74)
CIE-LCHlch(97.22, 43.16, 104.75°)
OKLaboklab(97.21% -0.0293 0.1028)
OKLCHoklch(97.21% 0.107 105.9)
XYZxyz(82.5297, 92.9727, 49.1880)
Luminance0.9297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFBA5 #A5A9FF
analogous
#FFCEA5 #FFFBA5 #D6FFA5
triadic
#FFFBA5 #A5FFFB #FBA5FF
tetradic
#FFFBA5 #A5FFCE #A5A9FF #FFA5D6
square
#FFFBA5 #A5FFCE #A5A9FF #FFA5D6
split-complementary
#FFFBA5 #A5D6FF #CEA5FF
monochromatic
#FFF62B #FFF868 #FFFBA5 #FFFEE0 #FFFEE0

Accessibility & contrast

On white

1.07
#FFFBA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.59
#FFFBA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFBA5
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFBA5#FFFFFF#000000##000000
##FFFBA51.001.0719.5919.59
#FFFFFF1.071.0021.0021.00
#00000019.5921.001.001.00
##00000019.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF59F
Deuteranopia (green-blind)
#FFF9A8
Tritanopia (blue-blind)
#FFF0E5
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffba5;
/* rgb */ color: rgb(255, 251, 165);
/* oklch */ color: oklch(97.2% 0.107 105.9);
Tailwind
colors: {
  custom: {
    50: '#fffcc0',
    500: '#fffba5',
    950: '#000000',
  },
}
SCSS
$custom: #fffba5;
$custom-light: #fffcc0;
$custom-dark: #000000;
JSON
{
  "hex": "#fffba5",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 165
  },
  "hsl": {
    "h": 57.333,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.97215,
    "c": 0.10686,
    "h": 105.9
  },
  "luminance": 0.92971
}

Semantic roles & 50–950 ramp

primary
#FFFBA5
secondary
#646AE4
accent
#0AE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFFBA5

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

Preview Lab → · Contrast checker → · Palette generator →

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