#FBD96F#FBD96F

#FBD96F is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 89.3% C 0.131 H 91.8°. Best body text is #000000 at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#FBD96F
RGBrgb(251, 217, 111)
HSLhsl(45, 95%, 71%)
HSVhsv(45, 56%, 98%)
CMYKcmyk(0%, 13.5%, 55.8%, 1.6%)
CIE-LABlab(87.62, -0.63, 55.80)
CIE-LCHlch(87.62, 55.80, 90.65°)
OKLaboklab(89.32% -0.0042 0.1306)
OKLCHoklch(89.32% 0.131 91.8)
XYZxyz(67.4685, 71.2860, 25.2416)
Luminance0.7128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD96F #6F91FB
analogous
#FB936F #FBD96F #D7FB6F
triadic
#FBD96F #6FFBD9 #D96FFB
tetradic
#FBD96F #6FFB93 #6F91FB #FB6FD7
square
#FBD96F #6FFB93 #6F91FB #FB6FD7
split-complementary
#FBD96F #6FD7FB #936FFB
monochromatic
#E9B206 #F9C933 #FBD96F #FDE9AB #FEF7E1

Accessibility & contrast

On white

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

On black

15.26
#FBD96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD96F
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD96F#FFFFFF#000000##000000
##FBD96F1.001.3815.2615.26
#FFFFFF1.381.0021.0021.00
#00000015.2621.001.001.00
##00000015.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD665
Deuteranopia (green-blind)
#F5E073
Tritanopia (blue-blind)
#FFCAC1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #fbd96f;
/* rgb */ color: rgb(251, 217, 111);
/* oklch */ color: oklch(89.3% 0.131 91.8);
Tailwind
colors: {
  custom: {
    50: '#ffe49b',
    500: '#fbd96f',
    950: '#000000',
  },
}
SCSS
$custom: #fbd96f;
$custom-light: #ffe49b;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd96f",
  "rgb": {
    "r": 251,
    "g": 217,
    "b": 111
  },
  "hsl": {
    "h": 45.429,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89318,
    "c": 0.13072,
    "h": 91.8
  },
  "luminance": 0.71283
}

Semantic roles & 50–950 ramp

primary
#FBD96F
secondary
#385ED6
accent
#38E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #FBD96F

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

Preview Lab → · Contrast checker → · Palette generator →

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