#FBF37F#FBF37F

#FBF37F is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.7% C 0.138 H 105.2°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#FBF37F
RGBrgb(251, 243, 127)
HSLhsl(56, 94%, 74%)
HSVhsv(56, 49%, 98%)
CMYKcmyk(0%, 3.2%, 49.4%, 1.6%)
CIE-LABlab(94.37, -12.35, 56.34)
CIE-LCHlch(94.37, 57.68, 102.36°)
OKLaboklab(94.72% -0.0362 0.1333)
OKLCHoklch(94.72% 0.138 105.2)
XYZxyz(75.6670, 86.1449, 32.7163)
Luminance0.8614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF37F #7F87FB
analogous
#FBB57F #FBF37F #C5FB7F
triadic
#FBF37F #7FFBF3 #F37FFB
tetradic
#FBF37F #7FFBB5 #7F87FB #FB7FC5
square
#FBF37F #7FFBB5 #7F87FB #FB7FC5
split-complementary
#FBF37F #7FC5FB #B57FFB
monochromatic
#F7E808 #F9ED44 #FBF37F #FDF9BA #FEFCE1

Accessibility & contrast

On white

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

On black

18.23
#FBF37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF37F
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF37F#FFFFFF#000000##000000
##FBF37F1.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf37f;
/* rgb */ color: rgb(251, 243, 127);
/* oklch */ color: oklch(94.7% 0.138 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff6a7',
    500: '#fbf37f',
    950: '#000000',
  },
}
SCSS
$custom: #fbf37f;
$custom-light: #fff6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf37f",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 127
  },
  "hsl": {
    "h": 56.129,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94722,
    "c": 0.13817,
    "h": 105.2
  },
  "luminance": 0.86143
}

Semantic roles & 50–950 ramp

primary
#FBF37F
secondary
#464FD9
accent
#0FE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FBF37F

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

Preview Lab → · Contrast checker → · Palette generator →

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