#FBF670#FBF670

#FBF670 is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.2% C 0.155 H 107.0°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#FBF670
RGBrgb(251, 246, 112)
HSLhsl(58, 95%, 71%)
HSVhsv(58, 55%, 98%)
CMYKcmyk(0%, 2%, 55.4%, 1.6%)
CIE-LABlab(94.99, -15.00, 63.80)
CIE-LCHlch(94.99, 65.54, 103.23°)
OKLaboklab(95.16% -0.0453 0.148)
OKLCHoklch(95.16% 0.155 107)
XYZxyz(75.6663, 87.5928, 28.2474)
Luminance0.8759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF670 #7075FB
analogous
#FBB070 #FBF670 #BAFB70
triadic
#FBF670 #70FBF6 #F670FB
tetradic
#FBF670 #70FBB0 #7075FB #FB70BA
square
#FBF670 #70FBB0 #7075FB #FB70BA
split-complementary
#FBF670 #70BAFB #B070FB
monochromatic
#EAE207 #F9F234 #FBF670 #FDFAAC #FEFDE1

Accessibility & contrast

On white

1.13
#FBF670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.52
#FBF670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF670
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF670#FFFFFF#000000##000000
##FBF6701.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE62
Deuteranopia (green-blind)
#FFF377
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf670;
/* rgb */ color: rgb(251, 246, 112);
/* oklch */ color: oklch(95.2% 0.155 107.0);
Tailwind
colors: {
  custom: {
    50: '#fff89d',
    500: '#fbf670',
    950: '#000000',
  },
}
SCSS
$custom: #fbf670;
$custom-light: #fff89d;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf670",
  "rgb": {
    "r": 251,
    "g": 246,
    "b": 112
  },
  "hsl": {
    "h": 57.842,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.95161,
    "c": 0.15478,
    "h": 107
  },
  "luminance": 0.87591
}

Semantic roles & 50–950 ramp

primary
#FBF670
secondary
#393ED7
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF670

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

Preview Lab → · Contrast checker → · Palette generator →

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