#FBF381#FBF381

#FBF381 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.7% C 0.136 H 105.1°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#FBF381
RGBrgb(251, 243, 129)
HSLhsl(56, 94%, 75%)
HSVhsv(56, 49%, 98%)
CMYKcmyk(0%, 3.2%, 48.6%, 1.6%)
CIE-LABlab(94.40, -12.18, 55.44)
CIE-LCHlch(94.40, 56.76, 102.39°)
OKLaboklab(94.75% -0.0355 0.1315)
OKLCHoklch(94.75% 0.136 105.1)
XYZxyz(75.7986, 86.1976, 33.4096)
Luminance0.8619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF381 #8189FB
analogous
#FBB681 #FBF381 #C6FB81
triadic
#FBF381 #81FBF3 #F381FB
tetradic
#FBF381 #81FBB6 #8189FB #FB81C6
square
#FBF381 #81FBB6 #8189FB #FB81C6
split-complementary
#FBF381 #81C6FB #B681FB
monochromatic
#F7E80A #F9ED46 #FBF381 #FDF9BC #FEFCE1

Accessibility & contrast

On white

1.15
#FBF381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.24
#FBF381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF381
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF381#FFFFFF#000000##000000
##FBF3811.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC77
Deuteranopia (green-blind)
#FFF186
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf381;
/* rgb */ color: rgb(251, 243, 129);
/* oklch */ color: oklch(94.7% 0.136 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff6a8',
    500: '#fbf381',
    950: '#000000',
  },
}
SCSS
$custom: #fbf381;
$custom-light: #fff6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf381",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 56.066,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.94747,
    "c": 0.13624,
    "h": 105.1
  },
  "luminance": 0.86195
}

Semantic roles & 50–950 ramp

primary
#FBF381
secondary
#4751D9
accent
#0FE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF381

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

Preview Lab → · Contrast checker → · Palette generator →

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