#FBF475#FBF475

#FBF475 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.8% C 0.148 H 106.0°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#FBF475
RGBrgb(251, 244, 117)
HSLhsl(57, 94%, 72%)
HSVhsv(57, 53%, 98%)
CMYKcmyk(0%, 2.8%, 53.4%, 1.6%)
CIE-LABlab(94.52, -13.65, 61.07)
CIE-LCHlch(94.52, 62.57, 102.60°)
OKLaboklab(94.81% -0.0409 0.1427)
OKLCHoklch(94.81% 0.148 106)
XYZxyz(75.3474, 86.4972, 29.5528)
Luminance0.8649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF475 #757CFB
analogous
#FBB175 #FBF475 #BFFB75
triadic
#FBF475 #75FBF4 #F475FB
tetradic
#FBF475 #75FBB1 #757CFB #FB75BF
square
#FBF475 #75FBB1 #757CFB #FB75BF
split-complementary
#FBF475 #75BFFB #B175FB
monochromatic
#EFE307 #F9EF3A #FBF475 #FDF9B0 #FEFDE1

Accessibility & contrast

On white

1.15
#FBF475 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.30
#FBF475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF475
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF475#FFFFFF#000000##000000
##FBF4751.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC69
Deuteranopia (green-blind)
#FFF27B
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf475;
/* rgb */ color: rgb(251, 244, 117);
/* oklch */ color: oklch(94.8% 0.148 106.0);
Tailwind
colors: {
  custom: {
    50: '#fff7a0',
    500: '#fbf475',
    950: '#000000',
  },
}
SCSS
$custom: #fbf475;
$custom-light: #fff7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf475",
  "rgb": {
    "r": 251,
    "g": 244,
    "b": 117
  },
  "hsl": {
    "h": 56.866,
    "s": 94.366,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94807,
    "c": 0.14841,
    "h": 106
  },
  "luminance": 0.86495
}

Semantic roles & 50–950 ramp

primary
#FBF475
secondary
#3D45D7
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF475

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

Preview Lab → · Contrast checker → · Palette generator →

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