#FBF175#FBF175

#FBF175 is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.2% C 0.145 H 104.6°. Best body text is #000000 at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#FBF175
RGBrgb(251, 241, 117)
HSLhsl(56, 94%, 72%)
HSVhsv(56, 53%, 98%)
CMYKcmyk(0%, 4%, 53.4%, 1.6%)
CIE-LABlab(93.76, -12.18, 60.18)
CIE-LCHlch(93.76, 61.40, 101.44°)
OKLaboklab(94.2% -0.0367 0.1407)
OKLCHoklch(94.2% 0.145 104.6)
XYZxyz(74.4521, 84.7066, 29.2543)
Luminance0.8470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF175 #757FFB
analogous
#FBAE75 #FBF175 #C2FB75
triadic
#FBF175 #75FBF1 #F175FB
tetradic
#FBF175 #75FBAE #757FFB #FB75C2
square
#FBF175 #75FBAE #757FFB #FB75C2
split-complementary
#FBF175 #75C2FB #AE75FB
monochromatic
#EFDD07 #F9EB3A #FBF175 #FDF7B0 #FEFCE1

Accessibility & contrast

On white

1.17
#FBF175 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.94
#FBF175 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF175
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF175#FFFFFF#000000##000000
##FBF1751.001.1717.9417.94
#FFFFFF1.171.0021.0021.00
#00000017.9421.001.001.00
##00000017.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA69
Deuteranopia (green-blind)
#FFF07B
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf175;
/* rgb */ color: rgb(251, 241, 117);
/* oklch */ color: oklch(94.2% 0.145 104.6);
Tailwind
colors: {
  custom: {
    50: '#fff5a0',
    500: '#fbf175',
    950: '#000000',
  },
}
SCSS
$custom: #fbf175;
$custom-light: #fff5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf175",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 117
  },
  "hsl": {
    "h": 55.522,
    "s": 94.366,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94197,
    "c": 0.14546,
    "h": 104.6
  },
  "luminance": 0.84704
}

Semantic roles & 50–950 ramp

primary
#FBF175
secondary
#3D48D7
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF175

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

Preview Lab → · Contrast checker → · Palette generator →

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