#FFFBA4#FFFBA4

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

Color values

HEX#FFFBA4
RGBrgb(255, 251, 164)
HSLhsl(57, 100%, 82%)
HSVhsv(57, 36%, 100%)
CMYKcmyk(0%, 1.6%, 35.7%, 0%)
CIE-LABlab(97.20, -11.10, 42.21)
CIE-LCHlch(97.20, 43.65, 104.74°)
OKLaboklab(97.2% -0.0297 0.1038)
OKLCHoklch(97.2% 0.108 106)
XYZxyz(82.4390, 92.9364, 48.7105)
Luminance0.9294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFBA4 #A4A8FF
analogous
#FFCEA4 #FFFBA4 #D5FFA4
triadic
#FFFBA4 #A4FFFB #FBA4FF
tetradic
#FFFBA4 #A4FFCE #A4A8FF #FFA4D5
square
#FFFBA4 #A4FFCE #A4A8FF #FFA4D5
split-complementary
#FFFBA4 #A4D5FF #CEA4FF
monochromatic
#FFF62A #FFF867 #FFFBA4 #FFFEE0 #FFFEE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFBA4#FFFFFF#000000##000000
##FFFBA41.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)
#FFF59E
Deuteranopia (green-blind)
#FFF9A8
Tritanopia (blue-blind)
#FFF0E5
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffba4;
/* rgb */ color: rgb(255, 251, 164);
/* oklch */ color: oklch(97.2% 0.108 106.0);
Tailwind
colors: {
  custom: {
    50: '#fffcc0',
    500: '#fffba4',
    950: '#000000',
  },
}
SCSS
$custom: #fffba4;
$custom-light: #fffcc0;
$custom-dark: #000000;
JSON
{
  "hex": "#fffba4",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 164
  },
  "hsl": {
    "h": 57.363,
    "s": 100,
    "l": 82.157
  },
  "oklch": {
    "l": 0.97199,
    "c": 0.10797,
    "h": 106
  },
  "luminance": 0.92935
}

Semantic roles & 50–950 ramp

primary
#FFFBA4
secondary
#6469E4
accent
#0AE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFFBA4

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

Preview Lab → · Contrast checker → · Palette generator →

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