#FBD797#FBD797

#FBD797 is a very light, moderate orange. Relative luminance 0.713; OKLCH L 89.5% C 0.090 H 81.5°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#FBD797
RGBrgb(251, 215, 151)
HSLhsl(38, 93%, 79%)
HSVhsv(38, 40%, 98%)
CMYKcmyk(0%, 14.3%, 39.8%, 1.6%)
CIE-LABlab(87.65, 4.04, 36.22)
CIE-LCHlch(87.65, 36.45, 83.63°)
OKLaboklab(89.51% 0.0134 0.0895)
OKLCHoklch(89.51% 0.09 81.5)
XYZxyz(69.6719, 71.3475, 39.3737)
Luminance0.7134 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD797 #97BBFB
analogous
#FBA597 #FBD797 #EDFB97
triadic
#FBD797 #97FBD7 #D797FB
tetradic
#FBD797 #97FBA5 #97BBFB #FB97ED
square
#FBD797 #97FBA5 #97BBFB #FB97ED
split-complementary
#FBD797 #97EDFB #A597FB
monochromatic
#F6AA21 #F9C05C #FBD797 #FDEED2 #FEF4E2

Accessibility & contrast

On white

1.38
#FBD797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.27
#FBD797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD797
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD797#FFFFFF#000000##000000
##FBD7971.001.3815.2715.27
#FFFFFF1.381.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D692
Deuteranopia (green-blind)
#F0E099
Tritanopia (blue-blind)
#FFCCC7
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #fbd797;
/* rgb */ color: rgb(251, 215, 151);
/* oklch */ color: oklch(89.5% 0.090 81.5);
Tailwind
colors: {
  custom: {
    50: '#fee3b6',
    500: '#fbd797',
    950: '#000000',
  },
}
SCSS
$custom: #fbd797;
$custom-light: #fee3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd797",
  "rgb": {
    "r": 251,
    "g": 215,
    "b": 151
  },
  "hsl": {
    "h": 38.4,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.89513,
    "c": 0.09048,
    "h": 81.5
  },
  "luminance": 0.71344
}

Semantic roles & 50–950 ramp

primary
#FBD797
secondary
#5A89DC
accent
#53E600
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181511
muted
#868481

Preview Lab

Preview with #FBD797

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

Preview Lab → · Contrast checker → · Palette generator →

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