#FBD96C#FBD96C

#FBD96C is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 89.3% C 0.133 H 92.2°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#FBD96C
RGBrgb(251, 217, 108)
HSLhsl(46, 95%, 70%)
HSVhsv(46, 57%, 98%)
CMYKcmyk(0%, 13.5%, 57%, 1.6%)
CIE-LABlab(87.59, -0.85, 57.15)
CIE-LCHlch(87.59, 57.16, 90.86°)
OKLaboklab(89.28% -0.0052 0.1332)
OKLCHoklch(89.28% 0.133 92.2)
XYZxyz(67.3061, 71.2210, 24.3863)
Luminance0.7122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD96C #6C8EFB
analogous
#FB916C #FBD96C #D6FB6C
triadic
#FBD96C #6CFBD9 #D96CFB
tetradic
#FBD96C #6CFB91 #6C8EFB #FB6CD6
square
#FBD96C #6CFB91 #6C8EFB #FB6CD6
split-complementary
#FBD96C #6CD6FB #916CFB
monochromatic
#E6B106 #F9CA30 #FBD96C #FDE8A8 #FEF7E1

Accessibility & contrast

On white

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

On black

15.24
#FBD96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD96C
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD96C#FFFFFF#000000##000000
##FBD96C1.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD661
Deuteranopia (green-blind)
#F6E071
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #fbd96c;
/* rgb */ color: rgb(251, 217, 108);
/* oklch */ color: oklch(89.3% 0.133 92.2);
Tailwind
colors: {
  custom: {
    50: '#ffe499',
    500: '#fbd96c',
    950: '#000000',
  },
}
SCSS
$custom: #fbd96c;
$custom-light: #ffe499;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd96c",
  "rgb": {
    "r": 251,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 45.734,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89283,
    "c": 0.13334,
    "h": 92.2
  },
  "luminance": 0.71218
}

Semantic roles & 50–950 ramp

primary
#FBD96C
secondary
#355BD6
accent
#37E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #FBD96C

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

Preview Lab → · Contrast checker → · Palette generator →

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