#FBF17F#FBF17F

#FBF17F is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.3% C 0.136 H 104.2°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#FBF17F
RGBrgb(251, 241, 127)
HSLhsl(55, 94%, 74%)
HSVhsv(55, 49%, 98%)
CMYKcmyk(0%, 4%, 49.4%, 1.6%)
CIE-LABlab(93.86, -11.36, 55.73)
CIE-LCHlch(93.86, 56.88, 101.52°)
OKLaboklab(94.32% -0.0334 0.132)
OKLCHoklch(94.32% 0.136 104.2)
XYZxyz(75.0717, 84.9544, 32.5179)
Luminance0.8495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF17F #7F89FB
analogous
#FBB37F #FBF17F #C7FB7F
triadic
#FBF17F #7FFBF1 #F17FFB
tetradic
#FBF17F #7FFBB3 #7F89FB #FB7FC7
square
#FBF17F #7FFBB3 #7F89FB #FB7FC7
split-complementary
#FBF17F #7FC7FB #B37FFB
monochromatic
#F7E408 #F9EB44 #FBF17F #FDF7BA #FEFCE1

Accessibility & contrast

On white

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

On black

17.99
#FBF17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF17F
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF17F#FFFFFF#000000##000000
##FBF17F1.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA75
Deuteranopia (green-blind)
#FFF084
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf17f;
/* rgb */ color: rgb(251, 241, 127);
/* oklch */ color: oklch(94.3% 0.136 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff5a7',
    500: '#fbf17f',
    950: '#000000',
  },
}
SCSS
$custom: #fbf17f;
$custom-light: #fff5a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf17f",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 127
  },
  "hsl": {
    "h": 55.161,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94316,
    "c": 0.13616,
    "h": 104.2
  },
  "luminance": 0.84952
}

Semantic roles & 50–950 ramp

primary
#FBF17F
secondary
#4651D9
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FBF17F

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

Preview Lab → · Contrast checker → · Palette generator →

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