#FBF382#FBF382

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

Color values

HEX#FBF382
RGBrgb(251, 243, 130)
HSLhsl(56, 94%, 75%)
HSVhsv(56, 48%, 98%)
CMYKcmyk(0%, 3.2%, 48.2%, 1.6%)
CIE-LABlab(94.41, -12.09, 54.99)
CIE-LCHlch(94.41, 56.30, 102.40°)
OKLaboklab(94.76% -0.0352 0.1306)
OKLCHoklch(94.76% 0.135 105.1)
XYZxyz(75.8654, 86.2243, 33.7614)
Luminance0.8622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF382 #828AFB
analogous
#FBB782 #FBF382 #C7FB82
triadic
#FBF382 #82FBF3 #F382FB
tetradic
#FBF382 #82FBB7 #828AFB #FB82C7
square
#FBF382 #82FBB7 #828AFB #FB82C7
split-complementary
#FBF382 #82C7FB #B782FB
monochromatic
#F7E80B #F9ED47 #FBF382 #FDF9BD #FEFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF382#FFFFFF#000000##000000
##FBF3821.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)
#FFEC78
Deuteranopia (green-blind)
#FFF187
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf382;
/* rgb */ color: rgb(251, 243, 130);
/* oklch */ color: oklch(94.8% 0.135 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff6a9',
    500: '#fbf382',
    950: '#000000',
  },
}
SCSS
$custom: #fbf382;
$custom-light: #fff6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf382",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 130
  },
  "hsl": {
    "h": 56.033,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.9476,
    "c": 0.13527,
    "h": 105.1
  },
  "luminance": 0.86222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF382

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

Preview Lab → · Contrast checker → · Palette generator →

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