#FBF37C#FBF37C

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

Color values

HEX#FBF37C
RGBrgb(251, 243, 124)
HSLhsl(56, 94%, 74%)
HSVhsv(56, 51%, 98%)
CMYKcmyk(0%, 3.2%, 50.6%, 1.6%)
CIE-LABlab(94.34, -12.60, 57.69)
CIE-LCHlch(94.34, 59.05, 102.32°)
OKLaboklab(94.69% -0.0372 0.136)
OKLCHoklch(94.69% 0.141 105.3)
XYZxyz(75.4744, 86.0679, 31.7019)
Luminance0.8607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF37C #7C84FB
analogous
#FBB37C #FBF37C #C4FB7C
triadic
#FBF37C #7CFBF3 #F37CFB
tetradic
#FBF37C #7CFBB3 #7C84FB #FB7CC4
square
#FBF37C #7CFBB3 #7C84FB #FB7CC4
split-complementary
#FBF37C #7CC4FB #B37CFB
monochromatic
#F5E607 #F9EE41 #FBF37C #FDF8B7 #FEFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF37C#FFFFFF#000000##000000
##FBF37C1.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)
#FFEC71
Deuteranopia (green-blind)
#FFF182
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf37c;
/* rgb */ color: rgb(251, 243, 124);
/* oklch */ color: oklch(94.7% 0.141 105.3);
Tailwind
colors: {
  custom: {
    50: '#fff6a5',
    500: '#fbf37c',
    950: '#000000',
  },
}
SCSS
$custom: #fbf37c;
$custom-light: #fff6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf37c",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 124
  },
  "hsl": {
    "h": 56.22,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94685,
    "c": 0.14101,
    "h": 105.3
  },
  "luminance": 0.86066
}

Semantic roles & 50–950 ramp

primary
#FBF37C
secondary
#434CD8
accent
#0EE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF37C

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

Preview Lab → · Contrast checker → · Palette generator →

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