#FBC798#FBC798

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

Color values

HEX#FBC798
RGBrgb(251, 199, 152)
HSLhsl(28, 93%, 79%)
HSVhsv(28, 39%, 98%)
CMYKcmyk(0%, 20.7%, 39.4%, 1.6%)
CIE-LABlab(83.77, 12.44, 30.58)
CIE-LCHlch(83.77, 33.01, 67.86°)
OKLaboklab(86.48% 0.0382 0.0763)
OKLCHoklch(86.48% 0.085 63.4)
XYZxyz(65.8767, 63.6266, 38.5109)
Luminance0.6362 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBC798 #98CCFB
analogous
#FB989B #FBC798 #FBF998
triadic
#FBC798 #98FBC7 #C798FB
tetradic
#FBC798 #9BFB98 #98CCFB #F998FB
square
#FBC798 #9BFB98 #98CCFB #F998FB
split-complementary
#FBC798 #98FBF9 #989BFB
monochromatic
#F68722 #F9A75D #FBC798 #FDE7D3 #FEEFE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBC798#FFFFFF#000000##000000
##FBC7981.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)
#D8CA95
Deuteranopia (green-blind)
#E4D699
Tritanopia (blue-blind)
#FFBCBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #fbc798;
/* rgb */ color: rgb(251, 199, 152);
/* oklch */ color: oklch(86.5% 0.085 63.4);
Tailwind
colors: {
  custom: {
    50: '#fed8b6',
    500: '#fbc798',
    950: '#000000',
  },
}
SCSS
$custom: #fbc798;
$custom-light: #fed8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbc798",
  "rgb": {
    "r": 251,
    "g": 199,
    "b": 152
  },
  "hsl": {
    "h": 28.485,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.86475,
    "c": 0.08529,
    "h": 63.4
  },
  "luminance": 0.63623
}

Semantic roles & 50–950 ramp

primary
#FBC798
secondary
#5B9FDC
accent
#79E600
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#181411
muted
#868381

Preview Lab

Preview with #FBC798

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

Preview Lab → · Contrast checker → · Palette generator →

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