#FBDF87#FBDF87

#FBDF87 is a very light, moderate yellow. Relative luminance 0.750; OKLCH L 90.8% C 0.112 H 92.3°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#FBDF87
RGBrgb(251, 223, 135)
HSLhsl(46, 94%, 76%)
HSVhsv(46, 46%, 98%)
CMYKcmyk(0%, 11.2%, 46.2%, 1.6%)
CIE-LABlab(89.41, -1.65, 46.48)
CIE-LCHlch(89.41, 46.51, 92.03°)
OKLaboklab(90.82% -0.0046 0.1121)
OKLCHoklch(90.82% 0.112 92.3)
XYZxyz(70.5467, 75.0368, 33.6845)
Luminance0.7503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBDF87 #87A3FB
analogous
#FBA587 #FBDF87 #DDFB87
triadic
#FBDF87 #87FBDF #DF87FB
tetradic
#FBDF87 #87FBA5 #87A3FB #FB87DD
square
#FBDF87 #87FBA5 #87A3FB #FB87DD
split-complementary
#FBDF87 #87DDFB #A587FB
monochromatic
#F7BF11 #F9CF4C #FBDF87 #FDEFC2 #FEF7E1

Accessibility & contrast

On white

1.31
#FBDF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.01
#FBDF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBDF87
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBDF87#FFFFFF#000000##000000
##FBDF871.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC80
Deuteranopia (green-blind)
#F7E48A
Tritanopia (blue-blind)
#FFD2CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #fbdf87;
/* rgb */ color: rgb(251, 223, 135);
/* oklch */ color: oklch(90.8% 0.112 92.3);
Tailwind
colors: {
  custom: {
    50: '#ffe8ab',
    500: '#fbdf87',
    950: '#000000',
  },
}
SCSS
$custom: #fbdf87;
$custom-light: #ffe8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fbdf87",
  "rgb": {
    "r": 251,
    "g": 223,
    "b": 135
  },
  "hsl": {
    "h": 45.517,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.90821,
    "c": 0.11218,
    "h": 92.3
  },
  "luminance": 0.75034
}

Semantic roles & 50–950 ramp

primary
#FBDF87
secondary
#4C6FDA
accent
#37E600
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FBDF87

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

Preview Lab → · Contrast checker → · Palette generator →

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