#FBD862#FBD862

#FBD862 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 89.0% C 0.141 H 92.8°. Best body text is #000000 at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#FBD862
RGBrgb(251, 216, 98)
HSLhsl(46, 95%, 68%)
HSVhsv(46, 61%, 98%)
CMYKcmyk(0%, 13.9%, 61%, 1.6%)
CIE-LABlab(87.24, -1.04, 61.26)
CIE-LCHlch(87.24, 61.27, 90.97°)
OKLaboklab(88.98% -0.0069 0.1409)
OKLCHoklch(88.98% 0.141 92.8)
XYZxyz(66.5472, 70.5062, 21.6568)
Luminance0.7050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD862 #6285FB
analogous
#FB8B62 #FBD862 #D1FB62
triadic
#FBD862 #62FBD8 #D862FB
tetradic
#FBD862 #62FB8B #6285FB #FB62D1
square
#FBD862 #62FB8B #6285FB #FB62D1
split-complementary
#FBD862 #62D1FB #8B62FB
monochromatic
#DDAC06 #F9C926 #FBD862 #FDE79E #FEF6D9

Accessibility & contrast

On white

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

On black

15.10
#FBD862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD862
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD862#FFFFFF#000000##000000
##FBD8621.001.3915.1015.10
#FFFFFF1.391.0021.0021.00
#00000015.1021.001.001.00
##00000015.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbd862;
/* rgb */ color: rgb(251, 216, 98);
/* oklch */ color: oklch(89.0% 0.141 92.8);
Tailwind
colors: {
  custom: {
    50: '#ffe393',
    500: '#fbd862',
    950: '#000000',
  },
}
SCSS
$custom: #fbd862;
$custom-light: #ffe393;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd862",
  "rgb": {
    "r": 251,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 46.275,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.88977,
    "c": 0.14104,
    "h": 92.8
  },
  "luminance": 0.70503
}

Semantic roles & 50–950 ramp

primary
#FBD862
secondary
#2D53D5
accent
#34E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #FBD862

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

Preview Lab → · Contrast checker → · Palette generator →

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