#FBD997#FBD997

#FBD997 is a very light, moderate orange. Relative luminance 0.724; OKLCH L 89.9% C 0.092 H 83.5°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#FBD997
RGBrgb(251, 217, 151)
HSLhsl(40, 93%, 79%)
HSVhsv(40, 40%, 98%)
CMYKcmyk(0%, 13.5%, 39.8%, 1.6%)
CIE-LABlab(88.15, 3.02, 36.87)
CIE-LCHlch(88.15, 36.99, 85.32°)
OKLaboklab(89.9% 0.0104 0.091)
OKLCHoklch(89.9% 0.092 83.5)
XYZxyz(70.1843, 72.3722, 39.5445)
Luminance0.7237 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD997 #97B9FB
analogous
#FBA797 #FBD997 #EBFB97
triadic
#FBD997 #97FBD9 #D997FB
tetradic
#FBD997 #97FBA7 #97B9FB #FB97EB
square
#FBD997 #97FBA7 #97B9FB #FB97EB
split-complementary
#FBD997 #97EBFB #A797FB
monochromatic
#F6AE21 #F9C35C #FBD997 #FDEFD2 #FEF4E2

Accessibility & contrast

On white

1.36
#FBD997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.47
#FBD997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD997
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD997#FFFFFF#000000##000000
##FBD9971.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D892
Deuteranopia (green-blind)
#F1E199
Tritanopia (blue-blind)
#FFCEC8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #fbd997;
/* rgb */ color: rgb(251, 217, 151);
/* oklch */ color: oklch(89.9% 0.092 83.5);
Tailwind
colors: {
  custom: {
    50: '#fee4b6',
    500: '#fbd997',
    950: '#000000',
  },
}
SCSS
$custom: #fbd997;
$custom-light: #fee4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd997",
  "rgb": {
    "r": 251,
    "g": 217,
    "b": 151
  },
  "hsl": {
    "h": 39.6,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.89901,
    "c": 0.09157,
    "h": 83.5
  },
  "luminance": 0.72369
}

Semantic roles & 50–950 ramp

primary
#FBD997
secondary
#5A86DC
accent
#4EE600
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181511
muted
#868481

Preview Lab

Preview with #FBD997

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

Preview Lab → · Contrast checker → · Palette generator →

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