#FFFBAF#FFFBAF

#FFFBAF is a very light, moderate yellow. Relative luminance 0.933; OKLCH L 97.4% C 0.095 H 105.5°. Best body text is #000000 at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#FFFBAF
RGBrgb(255, 251, 175)
HSLhsl(57, 100%, 84%)
HSVhsv(57, 31%, 100%)
CMYKcmyk(0%, 1.6%, 31.4%, 0%)
CIE-LABlab(97.37, -9.84, 36.99)
CIE-LCHlch(97.37, 38.28, 104.89°)
OKLaboklab(97.39% -0.0255 0.092)
OKLCHoklch(97.39% 0.095 105.5)
XYZxyz(83.4757, 93.3511, 54.1703)
Luminance0.9335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFBAF #AFB3FF
analogous
#FFD3AF #FFFBAF #DBFFAF
triadic
#FFFBAF #AFFFFB #FBAFFF
tetradic
#FFFBAF #AFFFD3 #AFB3FF #FFAFDB
square
#FFFBAF #AFFFD3 #AFB3FF #FFAFDB
split-complementary
#FFFBAF #AFDBFF #D3AFFF
monochromatic
#FFF535 #FFF872 #FFFBAF #FFFDE0 #FFFDE0

Accessibility & contrast

On white

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

On black

19.67
#FFFBAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFBAF
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFBAF#FFFFFF#000000##000000
##FFFBAF1.001.0719.6719.67
#FFFFFF1.071.0021.0021.00
#00000019.6721.001.001.00
##00000019.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5AA
Deuteranopia (green-blind)
#FFF9B2
Tritanopia (blue-blind)
#FFF1E7
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffbaf;
/* rgb */ color: rgb(255, 251, 175);
/* oklch */ color: oklch(97.4% 0.095 105.5);
Tailwind
colors: {
  custom: {
    50: '#fffcc7',
    500: '#fffbaf',
    950: '#000000',
  },
}
SCSS
$custom: #fffbaf;
$custom-light: #fffcc7;
$custom-dark: #000000;
JSON
{
  "hex": "#fffbaf",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 175
  },
  "hsl": {
    "h": 57,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.97387,
    "c": 0.09548,
    "h": 105.5
  },
  "luminance": 0.9335
}

Semantic roles & 50–950 ramp

primary
#FFFBAF
secondary
#6D73E5
accent
#0BE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FFFBAF

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

Preview Lab → · Contrast checker → · Palette generator →

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