#FBF07A#FBF07A

#FBF07A is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 94.1% C 0.140 H 103.9°. Best body text is #000000 at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#FBF07A
RGBrgb(251, 240, 122)
HSLhsl(55, 94%, 73%)
HSVhsv(55, 51%, 98%)
CMYKcmyk(0%, 4.4%, 51.4%, 1.6%)
CIE-LABlab(93.55, -11.29, 57.67)
CIE-LCHlch(93.55, 58.77, 101.07°)
OKLaboklab(94.05% -0.0337 0.1358)
OKLCHoklch(94.05% 0.14 103.9)
XYZxyz(74.4587, 84.2369, 30.7457)
Luminance0.8424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF07A #7A85FB
analogous
#FBAF7A #FBF07A #C5FB7A
triadic
#FBF07A #7AFBF0 #F07AFB
tetradic
#FBF07A #7AFBAF #7A85FB #FB7AC5
square
#FBF07A #7AFBAF #7A85FB #FB7AC5
split-complementary
#FBF07A #7AC5FB #AF7AFB
monochromatic
#F3DF07 #F9E93F #FBF07A #FDF7B5 #FEFCE1

Accessibility & contrast

On white

1.18
#FBF07A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.85
#FBF07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF07A
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF07A#FFFFFF#000000##000000
##FBF07A1.001.1817.8517.85
#FFFFFF1.181.0021.0021.00
#00000017.8521.001.001.00
##00000017.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96F
Deuteranopia (green-blind)
#FFEF80
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fbf07a;
/* rgb */ color: rgb(251, 240, 122);
/* oklch */ color: oklch(94.1% 0.140 103.9);
Tailwind
colors: {
  custom: {
    50: '#fff4a3',
    500: '#fbf07a',
    950: '#000000',
  },
}
SCSS
$custom: #fbf07a;
$custom-light: #fff4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf07a",
  "rgb": {
    "r": 251,
    "g": 240,
    "b": 122
  },
  "hsl": {
    "h": 54.884,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94052,
    "c": 0.13991,
    "h": 103.9
  },
  "luminance": 0.84235
}

Semantic roles & 50–950 ramp

primary
#FBF07A
secondary
#414ED8
accent
#14E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF07A

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

Preview Lab → · Contrast checker → · Palette generator →

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