#FBF374#FBF374

#FBF374 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.6% C 0.148 H 105.6°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#FBF374
RGBrgb(251, 243, 116)
HSLhsl(56, 94%, 72%)
HSVhsv(56, 54%, 98%)
CMYKcmyk(0%, 3.2%, 53.8%, 1.6%)
CIE-LABlab(94.26, -13.24, 61.21)
CIE-LCHlch(94.26, 62.62, 102.20°)
OKLaboklab(94.59% -0.0399 0.1429)
OKLCHoklch(94.59% 0.148 105.6)
XYZxyz(74.9888, 85.8737, 29.1447)
Luminance0.8587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF374 #747CFB
analogous
#FBAF74 #FBF374 #C0FB74
triadic
#FBF374 #74FBF3 #F374FB
tetradic
#FBF374 #74FBAF #747CFB #FB74C0
square
#FBF374 #74FBAF #747CFB #FB74C0
split-complementary
#FBF374 #74C0FB #AF74FB
monochromatic
#EEE007 #F9EE39 #FBF374 #FDF8AF #FEFCE1

Accessibility & contrast

On white

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

On black

18.17
#FBF374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF374
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF374#FFFFFF#000000##000000
##FBF3741.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB67
Deuteranopia (green-blind)
#FFF17A
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf374;
/* rgb */ color: rgb(251, 243, 116);
/* oklch */ color: oklch(94.6% 0.148 105.6);
Tailwind
colors: {
  custom: {
    50: '#fff6a0',
    500: '#fbf374',
    950: '#000000',
  },
}
SCSS
$custom: #fbf374;
$custom-light: #fff6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf374",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 116
  },
  "hsl": {
    "h": 56.444,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94592,
    "c": 0.14831,
    "h": 105.6
  },
  "luminance": 0.85871
}

Semantic roles & 50–950 ramp

primary
#FBF374
secondary
#3C45D7
accent
#0EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF374

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

Preview Lab → · Contrast checker → · Palette generator →

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