#FBF370#FBF370

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

Color values

HEX#FBF370
RGBrgb(251, 243, 112)
HSLhsl(57, 95%, 71%)
HSVhsv(57, 55%, 98%)
CMYKcmyk(0%, 3.2%, 55.4%, 1.6%)
CIE-LABlab(94.22, -13.54, 62.93)
CIE-LCHlch(94.22, 64.37, 102.14°)
OKLaboklab(94.55% -0.0412 0.1461)
OKLCHoklch(94.55% 0.152 105.7)
XYZxyz(74.7612, 85.7826, 27.9456)
Luminance0.8578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF370 #7078FB
analogous
#FBAD70 #FBF370 #BDFB70
triadic
#FBF370 #70FBF3 #F370FB
tetradic
#FBF370 #70FBAD #7078FB #FB70BD
square
#FBF370 #70FBAD #7078FB #FB70BD
split-complementary
#FBF370 #70BDFB #AD70FB
monochromatic
#EADD07 #F9EE34 #FBF370 #FDF8AC #FEFDE1

Accessibility & contrast

On white

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

On black

18.16
#FBF370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF370
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF370#FFFFFF#000000##000000
##FBF3701.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf370;
/* rgb */ color: rgb(251, 243, 112);
/* oklch */ color: oklch(94.5% 0.152 105.7);
Tailwind
colors: {
  custom: {
    50: '#fff69d',
    500: '#fbf370',
    950: '#000000',
  },
}
SCSS
$custom: #fbf370;
$custom-light: #fff69d;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf370",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 112
  },
  "hsl": {
    "h": 56.547,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94549,
    "c": 0.15182,
    "h": 105.7
  },
  "luminance": 0.8578
}

Semantic roles & 50–950 ramp

primary
#FBF370
secondary
#3942D7
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF370

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

Preview Lab → · Contrast checker → · Palette generator →

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