#FBF875#FBF875

#FBF875 is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.6% C 0.152 H 107.8°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#FBF875
RGBrgb(251, 248, 117)
HSLhsl(59, 94%, 72%)
HSVhsv(59, 53%, 98%)
CMYKcmyk(0%, 1.2%, 53.4%, 1.6%)
CIE-LABlab(95.55, -15.60, 62.25)
CIE-LCHlch(95.55, 64.17, 104.07°)
OKLaboklab(95.63% -0.0465 0.1452)
OKLCHoklch(95.63% 0.152 107.8)
XYZxyz(76.5640, 88.9305, 29.9583)
Luminance0.8893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF875 #7578FB
analogous
#FBB575 #FBF875 #BBFB75
triadic
#FBF875 #75FBF8 #F875FB
tetradic
#FBF875 #75FBB5 #7578FB #FB75BB
square
#FBF875 #75FBB5 #7578FB #FB75BB
split-complementary
#FBF875 #75BBFB #B575FB
monochromatic
#EFE907 #F9F53A #FBF875 #FDFBB0 #FEFDE1

Accessibility & contrast

On white

1.12
#FBF875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.79
#FBF875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF875
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF875#FFFFFF#000000##000000
##FBF8751.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF68
Deuteranopia (green-blind)
#FFF57C
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf875;
/* rgb */ color: rgb(251, 248, 117);
/* oklch */ color: oklch(95.6% 0.152 107.8);
Tailwind
colors: {
  custom: {
    50: '#fffaa0',
    500: '#fbf875',
    950: '#000000',
  },
}
SCSS
$custom: #fbf875;
$custom-light: #fffaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf875",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 117
  },
  "hsl": {
    "h": 58.657,
    "s": 94.366,
    "l": 72.157
  },
  "oklch": {
    "l": 0.95625,
    "c": 0.15246,
    "h": 107.8
  },
  "luminance": 0.88928
}

Semantic roles & 50–950 ramp

primary
#FBF875
secondary
#3D40D7
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF875

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

Preview Lab → · Contrast checker → · Palette generator →

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