#FBF37B#FBF37B

#FBF37B is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.7% C 0.142 H 105.3°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#FBF37B
RGBrgb(251, 243, 123)
HSLhsl(56, 94%, 73%)
HSVhsv(56, 51%, 98%)
CMYKcmyk(0%, 3.2%, 51%, 1.6%)
CIE-LABlab(94.33, -12.68, 58.13)
CIE-LCHlch(94.33, 59.50, 102.31°)
OKLaboklab(94.67% -0.0376 0.1369)
OKLCHoklch(94.67% 0.142 105.3)
XYZxyz(75.4115, 86.0427, 31.3705)
Luminance0.8604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF37B #7B83FB
analogous
#FBB37B #FBF37B #C3FB7B
triadic
#FBF37B #7BFBF3 #F37BFB
tetradic
#FBF37B #7BFBB3 #7B83FB #FB7BC3
square
#FBF37B #7BFBB3 #7B83FB #FB7BC3
split-complementary
#FBF37B #7BC3FB #B37BFB
monochromatic
#F4E507 #F9EE40 #FBF37B #FDF8B6 #FEFCE1

Accessibility & contrast

On white

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

On black

18.21
#FBF37B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF37B
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF37B#FFFFFF#000000##000000
##FBF37B1.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC70
Deuteranopia (green-blind)
#FFF181
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf37b;
/* rgb */ color: rgb(251, 243, 123);
/* oklch */ color: oklch(94.7% 0.142 105.3);
Tailwind
colors: {
  custom: {
    50: '#fff6a4',
    500: '#fbf37b',
    950: '#000000',
  },
}
SCSS
$custom: #fbf37b;
$custom-light: #fff6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf37b",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 123
  },
  "hsl": {
    "h": 56.25,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94673,
    "c": 0.14194,
    "h": 105.3
  },
  "luminance": 0.8604
}

Semantic roles & 50–950 ramp

primary
#FBF37B
secondary
#424BD8
accent
#0EE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF37B

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

Preview Lab → · Contrast checker → · Palette generator →

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