#FBF170#FBF170

#FBF170 is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.1% C 0.150 H 104.8°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#FBF170
RGBrgb(251, 241, 112)
HSLhsl(56, 95%, 71%)
HSVhsv(56, 55%, 98%)
CMYKcmyk(0%, 4%, 55.4%, 1.6%)
CIE-LABlab(93.71, -12.56, 62.35)
CIE-LCHlch(93.71, 63.60, 101.39°)
OKLaboklab(94.14% -0.0384 0.1449)
OKLCHoklch(94.14% 0.15 104.8)
XYZxyz(74.1659, 84.5921, 27.7472)
Luminance0.8459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF170 #707AFB
analogous
#FBAB70 #FBF170 #C0FB70
triadic
#FBF170 #70FBF1 #F170FB
tetradic
#FBF170 #70FBAB #707AFB #FB70C0
square
#FBF170 #70FBAB #707AFB #FB70C0
split-complementary
#FBF170 #70C0FB #AB70FB
monochromatic
#EADA07 #F9EB34 #FBF170 #FDF7AC #FEFCE1

Accessibility & contrast

On white

1.17
#FBF170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.92
#FBF170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF170
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF170#FFFFFF#000000##000000
##FBF1701.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE963
Deuteranopia (green-blind)
#FFF077
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf170;
/* rgb */ color: rgb(251, 241, 112);
/* oklch */ color: oklch(94.1% 0.150 104.8);
Tailwind
colors: {
  custom: {
    50: '#fff59d',
    500: '#fbf170',
    950: '#000000',
  },
}
SCSS
$custom: #fbf170;
$custom-light: #fff59d;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf170",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 112
  },
  "hsl": {
    "h": 55.683,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94141,
    "c": 0.14987,
    "h": 104.8
  },
  "luminance": 0.8459
}

Semantic roles & 50–950 ramp

primary
#FBF170
secondary
#3944D7
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF170

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

Preview Lab → · Contrast checker → · Palette generator →

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