#FBC797#FBC797

#FBC797 is a very light, moderate orange. Relative luminance 0.636; OKLCH L 86.5% C 0.086 H 64.0°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#FBC797
RGBrgb(251, 199, 151)
HSLhsl(29, 93%, 79%)
HSVhsv(29, 40%, 98%)
CMYKcmyk(0%, 20.7%, 39.8%, 1.6%)
CIE-LABlab(83.75, 12.33, 31.08)
CIE-LCHlch(83.75, 33.43, 68.36°)
OKLaboklab(86.46% 0.0378 0.0774)
OKLCHoklch(86.46% 0.086 64)
XYZxyz(65.7951, 63.5940, 38.0814)
Luminance0.6359 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBC797 #97CBFB
analogous
#FB9799 #FBC797 #FBF997
triadic
#FBC797 #97FBC7 #C797FB
tetradic
#FBC797 #99FB97 #97CBFB #F997FB
square
#FBC797 #99FB97 #97CBFB #F997FB
split-complementary
#FBC797 #97FBF9 #9799FB
monochromatic
#F68821 #F9A75C #FBC797 #FDE7D2 #FEEFE2

Accessibility & contrast

On white

1.53
#FBC797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#FBC797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBC797
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBC797#FFFFFF#000000##000000
##FBC7971.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA94
Deuteranopia (green-blind)
#E4D698
Tritanopia (blue-blind)
#FFBCBA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #fbc797;
/* rgb */ color: rgb(251, 199, 151);
/* oklch */ color: oklch(86.5% 0.086 64.0);
Tailwind
colors: {
  custom: {
    50: '#fed8b6',
    500: '#fbc797',
    950: '#000000',
  },
}
SCSS
$custom: #fbc797;
$custom-light: #fed8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbc797",
  "rgb": {
    "r": 251,
    "g": 199,
    "b": 151
  },
  "hsl": {
    "h": 28.8,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.86457,
    "c": 0.08615,
    "h": 64
  },
  "luminance": 0.6359
}

Semantic roles & 50–950 ramp

primary
#FBC797
secondary
#5A9EDC
accent
#77E600
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#181411
muted
#868381

Preview Lab

Preview with #FBC797

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

Preview Lab → · Contrast checker → · Palette generator →

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