#FBF27A#FBF27A

#FBF27A is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.5% C 0.142 H 104.9°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#FBF27A
RGBrgb(251, 242, 122)
HSLhsl(56, 94%, 73%)
HSVhsv(56, 51%, 98%)
CMYKcmyk(0%, 3.6%, 51.4%, 1.6%)
CIE-LABlab(94.06, -12.27, 58.27)
CIE-LCHlch(94.06, 59.55, 101.89°)
OKLaboklab(94.46% -0.0365 0.1371)
OKLCHoklch(94.46% 0.142 104.9)
XYZxyz(75.0507, 85.4209, 30.9431)
Luminance0.8542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF27A #7A83FB
analogous
#FBB17A #FBF27A #C3FB7A
triadic
#FBF27A #7AFBF2 #F27AFB
tetradic
#FBF27A #7AFBB1 #7A83FB #FB7AC3
square
#FBF27A #7AFBB1 #7A83FB #FB7AC3
split-complementary
#FBF27A #7AC3FB #B17AFB
monochromatic
#F3E307 #F9EC3F #FBF27A #FDF8B5 #FEFCE1

Accessibility & contrast

On white

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

On black

18.08
#FBF27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF27A
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF27A#FFFFFF#000000##000000
##FBF27A1.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6F
Deuteranopia (green-blind)
#FFF180
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf27a;
/* rgb */ color: rgb(251, 242, 122);
/* oklch */ color: oklch(94.5% 0.142 104.9);
Tailwind
colors: {
  custom: {
    50: '#fff6a3',
    500: '#fbf27a',
    950: '#000000',
  },
}
SCSS
$custom: #fbf27a;
$custom-light: #fff6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf27a",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 122
  },
  "hsl": {
    "h": 55.814,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94458,
    "c": 0.14188,
    "h": 104.9
  },
  "luminance": 0.85419
}

Semantic roles & 50–950 ramp

primary
#FBF27A
secondary
#414CD8
accent
#10E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF27A

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

Preview Lab → · Contrast checker → · Palette generator →

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