#FBF7AA#FBF7AA

#FBF7AA is a very light, moderate yellow. Relative luminance 0.899; OKLCH L 96.2% C 0.097 H 105.5°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#FBF7AA
RGBrgb(251, 247, 170)
HSLhsl(57, 91%, 83%)
HSVhsv(57, 32%, 98%)
CMYKcmyk(0%, 1.6%, 32.3%, 1.6%)
CIE-LABlab(95.97, -9.95, 37.58)
CIE-LCHlch(95.97, 38.87, 104.83°)
OKLaboklab(96.18% -0.0259 0.0933)
OKLCHoklch(96.18% 0.097 105.5)
XYZxyz(80.3008, 89.9346, 51.1514)
Luminance0.8993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF7AA #AAAEFB
analogous
#FBCEAA #FBF7AA #D6FBAA
triadic
#FBF7AA #AAFBF7 #F7AAFB
tetradic
#FBF7AA #AAFBCE #AAAEFB #FBAAD6
square
#FBF7AA #AAFBCE #AAAEFB #FBAAD6
split-complementary
#FBF7AA #AAD6FB #CEAAFB
monochromatic
#F5EC35 #F8F170 #FBF7AA #FEFCE2 #FEFCE2

Accessibility & contrast

On white

1.11
#FBF7AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.99
#FBF7AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF7AA
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF7AA#FFFFFF#000000##000000
##FBF7AA1.001.1118.9918.99
#FFFFFF1.111.0021.0021.00
#00000018.9921.001.001.00
##00000018.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF1A5
Deuteranopia (green-blind)
#FFF5AD
Tritanopia (blue-blind)
#FFEDE3
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf7aa;
/* rgb */ color: rgb(251, 247, 170);
/* oklch */ color: oklch(96.2% 0.097 105.5);
Tailwind
colors: {
  custom: {
    50: '#fdf9c4',
    500: '#fbf7aa',
    950: '#000000',
  },
}
SCSS
$custom: #fbf7aa;
$custom-light: #fdf9c4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf7aa",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 170
  },
  "hsl": {
    "h": 57.037,
    "s": 91.011,
    "l": 82.549
  },
  "oklch": {
    "l": 0.96176,
    "c": 0.0968,
    "h": 105.5
  },
  "luminance": 0.89933
}

Semantic roles & 50–950 ramp

primary
#FBF7AA
secondary
#6B71DE
accent
#0BE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FBF7AA

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

Preview Lab → · Contrast checker → · Palette generator →

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