#FBD562#FBD562

#FBD562 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 88.4% C 0.139 H 91.0°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#FBD562
RGBrgb(251, 213, 98)
HSLhsl(45, 95%, 68%)
HSVhsv(45, 61%, 98%)
CMYKcmyk(0%, 15.1%, 61%, 1.6%)
CIE-LABlab(86.50, 0.49, 60.43)
CIE-LCHlch(86.50, 60.43, 89.53°)
OKLaboklab(88.39% -0.0024 0.1391)
OKLCHoklch(88.39% 0.139 91)
XYZxyz(65.7856, 68.9831, 21.4029)
Luminance0.6898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD562 #6288FB
analogous
#FB8862 #FBD562 #D4FB62
triadic
#FBD562 #62FBD5 #D562FB
tetradic
#FBD562 #62FB88 #6288FB #FB62D4
square
#FBD562 #62FB88 #6288FB #FB62D4
split-complementary
#FBD562 #62D4FB #8862FB
monochromatic
#DDA706 #F9C526 #FBD562 #FDE59E #FEF5D9

Accessibility & contrast

On white

1.42
#FBD562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.80
#FBD562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD562
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD562#FFFFFF#000000##000000
##FBD5621.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD256
Deuteranopia (green-blind)
#F3DD67
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #fbd562;
/* rgb */ color: rgb(251, 213, 98);
/* oklch */ color: oklch(88.4% 0.139 91.0);
Tailwind
colors: {
  custom: {
    50: '#ffe193',
    500: '#fbd562',
    950: '#000000',
  },
}
SCSS
$custom: #fbd562;
$custom-light: #ffe193;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd562",
  "rgb": {
    "r": 251,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 45.098,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.88386,
    "c": 0.13911,
    "h": 91
  },
  "luminance": 0.6898
}

Semantic roles & 50–950 ramp

primary
#FBD562
secondary
#2D56D5
accent
#39E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #FBD562

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

Preview Lab → · Contrast checker → · Palette generator →

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