#FBD95B#FBD95B

#FBD95B is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 89.1% C 0.147 H 94.1°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#FBD95B
RGBrgb(251, 217, 91)
HSLhsl(47, 95%, 67%)
HSVhsv(47, 64%, 98%)
CMYKcmyk(0%, 13.5%, 63.7%, 1.6%)
CIE-LABlab(87.43, -1.98, 64.50)
CIE-LCHlch(87.43, 64.53, 91.76°)
OKLaboklab(89.11% -0.0104 0.1468)
OKLCHoklch(89.11% 0.147 94.1)
XYZxyz(66.4880, 70.8937, 20.0773)
Luminance0.7089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD95B #5B7DFB
analogous
#FB895B #FBD95B #CDFB5B
triadic
#FBD95B #5BFBD9 #D95BFB
tetradic
#FBD95B #5BFB89 #5B7DFB #FB5BCD
square
#FBD95B #5BFB89 #5B7DFB #FB5BCD
split-complementary
#FBD95B #5BCDFB #895BFB
monochromatic
#D6AA05 #FACB1F #FBD95B #FCE797 #FEF5D2

Accessibility & contrast

On white

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

On black

15.18
#FBD95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD95B
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD95B#FFFFFF#000000##000000
##FBD95B1.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54C
Deuteranopia (green-blind)
#F7E061
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #fbd95b;
/* rgb */ color: rgb(251, 217, 91);
/* oklch */ color: oklch(89.1% 0.147 94.1);
Tailwind
colors: {
  custom: {
    50: '#ffe48e',
    500: '#fbd95b',
    950: '#000000',
  },
}
SCSS
$custom: #fbd95b;
$custom-light: #ffe48e;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd95b",
  "rgb": {
    "r": 251,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 47.25,
    "s": 95.238,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89107,
    "c": 0.14716,
    "h": 94.1
  },
  "luminance": 0.7089
}

Semantic roles & 50–950 ramp

primary
#FBD95B
secondary
#2A4DD1
accent
#31E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #FBD95B

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

Preview Lab → · Contrast checker → · Palette generator →

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