#FBF275#FBF275

#FBF275 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.4% C 0.146 H 105.1°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#FBF275
RGBrgb(251, 242, 117)
HSLhsl(56, 94%, 72%)
HSVhsv(56, 53%, 98%)
CMYKcmyk(0%, 3.6%, 53.4%, 1.6%)
CIE-LABlab(94.01, -12.67, 60.48)
CIE-LCHlch(94.01, 61.79, 101.83°)
OKLaboklab(94.4% -0.0382 0.1414)
OKLCHoklch(94.4% 0.146 105.1)
XYZxyz(74.7489, 85.3002, 29.3533)
Luminance0.8530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF275 #757EFB
analogous
#FBAF75 #FBF275 #C1FB75
triadic
#FBF275 #75FBF2 #F275FB
tetradic
#FBF275 #75FBAF #757EFB #FB75C1
square
#FBF275 #75FBAF #757EFB #FB75C1
split-complementary
#FBF275 #75C1FB #AF75FB
monochromatic
#EFDF07 #F9EC3A #FBF275 #FDF8B0 #FEFCE1

Accessibility & contrast

On white

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

On black

18.06
#FBF275 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF275
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF275#FFFFFF#000000##000000
##FBF2751.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA69
Deuteranopia (green-blind)
#FFF17B
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf275;
/* rgb */ color: rgb(251, 242, 117);
/* oklch */ color: oklch(94.4% 0.146 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff6a0',
    500: '#fbf275',
    950: '#000000',
  },
}
SCSS
$custom: #fbf275;
$custom-light: #fff6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf275",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 117
  },
  "hsl": {
    "h": 55.97,
    "s": 94.366,
    "l": 72.157
  },
  "oklch": {
    "l": 0.944,
    "c": 0.14644,
    "h": 105.1
  },
  "luminance": 0.85298
}

Semantic roles & 50–950 ramp

primary
#FBF275
secondary
#3D47D7
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF275

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

Preview Lab → · Contrast checker → · Palette generator →

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