#FBF071#FBF071

#FBF071 is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.9% C 0.148 H 104.3°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#FBF071
RGBrgb(251, 240, 113)
HSLhsl(55, 95%, 71%)
HSVhsv(55, 55%, 98%)
CMYKcmyk(0%, 4.4%, 55%, 1.6%)
CIE-LABlab(93.46, -11.99, 61.63)
CIE-LCHlch(93.46, 62.78, 101.01°)
OKLaboklab(93.95% -0.0366 0.1434)
OKLCHoklch(93.95% 0.148 104.3)
XYZxyz(73.9267, 84.0241, 27.9437)
Luminance0.8402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF071 #717CFB
analogous
#FBAB71 #FBF071 #C1FB71
triadic
#FBF071 #71FBF0 #F071FB
tetradic
#FBF071 #71FBAB #717CFB #FB71C1
square
#FBF071 #71FBAB #717CFB #FB71C1
split-complementary
#FBF071 #71C1FB #AB71FB
monochromatic
#EBD907 #F9EA35 #FBF071 #FDF6AD #FEFCE1

Accessibility & contrast

On white

1.18
#FBF071 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.80
#FBF071 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF071
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF071#FFFFFF#000000##000000
##FBF0711.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FFEF77
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fbf071;
/* rgb */ color: rgb(251, 240, 113);
/* oklch */ color: oklch(93.9% 0.148 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff49d',
    500: '#fbf071',
    950: '#000000',
  },
}
SCSS
$custom: #fbf071;
$custom-light: #fff49d;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf071",
  "rgb": {
    "r": 251,
    "g": 240,
    "b": 113
  },
  "hsl": {
    "h": 55.217,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93949,
    "c": 0.14805,
    "h": 104.3
  },
  "luminance": 0.84022
}

Semantic roles & 50–950 ramp

primary
#FBF071
secondary
#3946D7
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF071

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

Preview Lab → · Contrast checker → · Palette generator →

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