#FBD798#FBD798

#FBD798 is a very light, moderate orange. Relative luminance 0.714; OKLCH L 89.5% C 0.089 H 81.1°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#FBD798
RGBrgb(251, 215, 152)
HSLhsl(38, 93%, 79%)
HSVhsv(38, 39%, 98%)
CMYKcmyk(0%, 14.3%, 39.4%, 1.6%)
CIE-LABlab(87.67, 4.15, 35.74)
CIE-LCHlch(87.67, 35.98, 83.37°)
OKLaboklab(89.53% 0.0138 0.0884)
OKLCHoklch(89.53% 0.089 81.1)
XYZxyz(69.7535, 71.3801, 39.8032)
Luminance0.7138 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD798 #98BCFB
analogous
#FBA698 #FBD798 #EDFB98
triadic
#FBD798 #98FBD7 #D798FB
tetradic
#FBD798 #98FBA6 #98BCFB #FB98ED
square
#FBD798 #98FBA6 #98BCFB #FB98ED
split-complementary
#FBD798 #98EDFB #A698FB
monochromatic
#F6A922 #F9C05D #FBD798 #FDEED3 #FEF4E2

Accessibility & contrast

On white

1.37
#FBD798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.28
#FBD798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD798
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD798#FFFFFF#000000##000000
##FBD7981.001.3715.2815.28
#FFFFFF1.371.0021.0021.00
#00000015.2821.001.001.00
##00000015.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbd798;
/* rgb */ color: rgb(251, 215, 152);
/* oklch */ color: oklch(89.5% 0.089 81.1);
Tailwind
colors: {
  custom: {
    50: '#fee3b7',
    500: '#fbd798',
    950: '#000000',
  },
}
SCSS
$custom: #fbd798;
$custom-light: #fee3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd798",
  "rgb": {
    "r": 251,
    "g": 215,
    "b": 152
  },
  "hsl": {
    "h": 38.182,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.8953,
    "c": 0.08944,
    "h": 81.1
  },
  "luminance": 0.71377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBD798

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

Preview Lab → · Contrast checker → · Palette generator →

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