#FBD86B#FBD86B

#FBD86B is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 89.1% C 0.134 H 91.7°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#FBD86B
RGBrgb(251, 216, 107)
HSLhsl(45, 95%, 70%)
HSVhsv(45, 57%, 98%)
CMYKcmyk(0%, 13.9%, 57.4%, 1.6%)
CIE-LABlab(87.33, -0.42, 57.31)
CIE-LCHlch(87.33, 57.31, 90.42°)
OKLaboklab(89.08% -0.004 0.1335)
OKLCHoklch(89.08% 0.134 91.7)
XYZxyz(66.9963, 70.6859, 24.0219)
Luminance0.7068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD86B #6B8EFB
analogous
#FB906B #FBD86B #D6FB6B
triadic
#FBD86B #6BFBD8 #D86BFB
tetradic
#FBD86B #6BFB90 #6B8EFB #FB6BD6
square
#FBD86B #6BFB90 #6B8EFB #FB6BD6
split-complementary
#FBD86B #6BD6FB #906BFB
monochromatic
#E5AF06 #F9C82F #FBD86B #FDE8A7 #FEF7E1

Accessibility & contrast

On white

1.39
#FBD86B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.14
#FBD86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD86B
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD86B#FFFFFF#000000##000000
##FBD86B1.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD560
Deuteranopia (green-blind)
#F5DF70
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #fbd86b;
/* rgb */ color: rgb(251, 216, 107);
/* oklch */ color: oklch(89.1% 0.134 91.7);
Tailwind
colors: {
  custom: {
    50: '#ffe398',
    500: '#fbd86b',
    950: '#000000',
  },
}
SCSS
$custom: #fbd86b;
$custom-light: #ffe398;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd86b",
  "rgb": {
    "r": 251,
    "g": 216,
    "b": 107
  },
  "hsl": {
    "h": 45.417,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89075,
    "c": 0.13354,
    "h": 91.7
  },
  "luminance": 0.70683
}

Semantic roles & 50–950 ramp

primary
#FBD86B
secondary
#345CD6
accent
#38E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #FBD86B

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

Preview Lab → · Contrast checker → · Palette generator →

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