#FBD962#FBD962

#FBD962 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 89.2% C 0.142 H 93.4°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#FBD962
RGBrgb(251, 217, 98)
HSLhsl(47, 95%, 68%)
HSVhsv(47, 61%, 98%)
CMYKcmyk(0%, 13.5%, 61%, 1.6%)
CIE-LABlab(87.49, -1.54, 61.54)
CIE-LCHlch(87.49, 61.56, 91.44°)
OKLaboklab(89.18% -0.0083 0.1415)
OKLCHoklch(89.18% 0.142 93.4)
XYZxyz(66.8041, 71.0202, 21.7424)
Luminance0.7102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD962 #6284FB
analogous
#FB8C62 #FBD962 #D0FB62
triadic
#FBD962 #62FBD9 #D962FB
tetradic
#FBD962 #62FB8C #6284FB #FB62D0
square
#FBD962 #62FB8C #6284FB #FB62D0
split-complementary
#FBD962 #62D0FB #8C62FB
monochromatic
#DDAD06 #F9CB26 #FBD962 #FDE79E #FEF6D9

Accessibility & contrast

On white

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

On black

15.20
#FBD962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD962
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD962#FFFFFF#000000##000000
##FBD9621.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED555
Deuteranopia (green-blind)
#F6E067
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #fbd962;
/* rgb */ color: rgb(251, 217, 98);
/* oklch */ color: oklch(89.2% 0.142 93.4);
Tailwind
colors: {
  custom: {
    50: '#ffe493',
    500: '#fbd962',
    950: '#000000',
  },
}
SCSS
$custom: #fbd962;
$custom-light: #ffe493;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd962",
  "rgb": {
    "r": 251,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 46.667,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.89175,
    "c": 0.1417,
    "h": 93.4
  },
  "luminance": 0.71017
}

Semantic roles & 50–950 ramp

primary
#FBD962
secondary
#2D52D5
accent
#33E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #FBD962

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

Preview Lab → · Contrast checker → · Palette generator →

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