#FBD970#FBD970

#FBD970 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 89.3% C 0.130 H 91.7°. Best body text is #000000 at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#FBD970
RGBrgb(251, 217, 112)
HSLhsl(45, 95%, 71%)
HSVhsv(45, 55%, 98%)
CMYKcmyk(0%, 13.5%, 55.4%, 1.6%)
CIE-LABlab(87.63, -0.56, 55.35)
CIE-LCHlch(87.63, 55.35, 90.57°)
OKLaboklab(89.33% -0.0038 0.1298)
OKLCHoklch(89.33% 0.13 91.7)
XYZxyz(67.5239, 71.3081, 25.5332)
Luminance0.7130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD970 #7092FB
analogous
#FB9370 #FBD970 #D7FB70
triadic
#FBD970 #70FBD9 #D970FB
tetradic
#FBD970 #70FB93 #7092FB #FB70D7
square
#FBD970 #70FB93 #7092FB #FB70D7
split-complementary
#FBD970 #70D7FB #9370FB
monochromatic
#EAB207 #F9C934 #FBD970 #FDE9AC #FEF7E1

Accessibility & contrast

On white

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

On black

15.26
#FBD970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD970
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD970#FFFFFF#000000##000000
##FBD9701.001.3815.2615.26
#FFFFFF1.381.0021.0021.00
#00000015.2621.001.001.00
##00000015.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD666
Deuteranopia (green-blind)
#F5E074
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #fbd970;
/* rgb */ color: rgb(251, 217, 112);
/* oklch */ color: oklch(89.3% 0.130 91.7);
Tailwind
colors: {
  custom: {
    50: '#ffe49c',
    500: '#fbd970',
    950: '#000000',
  },
}
SCSS
$custom: #fbd970;
$custom-light: #ffe49c;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd970",
  "rgb": {
    "r": 251,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 45.324,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.8933,
    "c": 0.12983,
    "h": 91.7
  },
  "luminance": 0.71305
}

Semantic roles & 50–950 ramp

primary
#FBD970
secondary
#395FD7
accent
#38E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #FBD970

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

Preview Lab → · Contrast checker → · Palette generator →

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