#FBF372#FBF372

#FBF372 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.6% C 0.150 H 105.7°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#FBF372
RGBrgb(251, 243, 114)
HSLhsl(56, 94%, 72%)
HSVhsv(56, 55%, 98%)
CMYKcmyk(0%, 3.2%, 54.6%, 1.6%)
CIE-LABlab(94.24, -13.39, 62.07)
CIE-LCHlch(94.24, 63.50, 102.17°)
OKLaboklab(94.57% -0.0405 0.1445)
OKLCHoklch(94.57% 0.15 105.7)
XYZxyz(74.8738, 85.8276, 28.5386)
Luminance0.8582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF372 #727AFB
analogous
#FBAF72 #FBF372 #BFFB72
triadic
#FBF372 #72FBF3 #F372FB
tetradic
#FBF372 #72FBAF #727AFB #FB72BF
square
#FBF372 #72FBAF #727AFB #FB72BF
split-complementary
#FBF372 #72BFFB #AF72FB
monochromatic
#ECDF07 #F9EE36 #FBF372 #FDF8AE #FEFCE1

Accessibility & contrast

On white

1.16
#FBF372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.17
#FBF372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF372
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF372#FFFFFF#000000##000000
##FBF3721.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FFF179
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf372;
/* rgb */ color: rgb(251, 243, 114);
/* oklch */ color: oklch(94.6% 0.150 105.7);
Tailwind
colors: {
  custom: {
    50: '#fff69e',
    500: '#fbf372',
    950: '#000000',
  },
}
SCSS
$custom: #fbf372;
$custom-light: #fff69e;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf372",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 56.496,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.9457,
    "c": 0.15007,
    "h": 105.7
  },
  "luminance": 0.85825
}

Semantic roles & 50–950 ramp

primary
#FBF372
secondary
#3A43D7
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF372

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

Preview Lab → · Contrast checker → · Palette generator →

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