#FFFB4A#FFFB4A

#FFFB4A is a very light, vivid yellow. Relative luminance 0.907; OKLCH L 96.2% C 0.186 H 108.1°. Best body text is #000000 at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#FFFB4A
RGBrgb(255, 251, 74)
HSLhsl(59, 100%, 65%)
HSVhsv(59, 71%, 100%)
CMYKcmyk(0%, 1.6%, 71%, 0%)
CIE-LABlab(96.31, -18.02, 80.06)
CIE-LCHlch(96.31, 82.06, 102.69°)
OKLaboklab(96.2% -0.0579 0.1768)
OKLCHoklch(96.2% 0.186 108.1)
XYZxyz(76.9761, 90.7513, 19.9392)
Luminance0.9075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFB4A #4A4EFF
analogous
#FFA14A #FFFB4A #A9FF4A
triadic
#FFFB4A #4AFFFB #FB4AFF
tetradic
#FFFB4A #4AFFA1 #4A4EFF #FF4AA9
square
#FFFB4A #4AFFA1 #4A4EFF #FF4AA9
split-complementary
#FFFB4A #4AA9FF #A14AFF
monochromatic
#CFCA00 #FFFA0D #FFFB4A #FFFC87 #FFFEC4

Accessibility & contrast

On white

1.10
#FFFB4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.15
#FFFB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFB4A
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFB4A#FFFFFF#000000##000000
##FFFB4A1.001.1019.1519.15
#FFFFFF1.101.0021.0021.00
#00000019.1521.001.001.00
##00000019.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF129
Deuteranopia (green-blind)
#FFF757
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fffb4a;
/* rgb */ color: rgb(255, 251, 74);
/* oklch */ color: oklch(96.2% 0.186 108.1);
Tailwind
colors: {
  custom: {
    50: '#fffc88',
    500: '#fffb4a',
    950: '#000000',
  },
}
SCSS
$custom: #fffb4a;
$custom-light: #fffc88;
$custom-dark: #000000;
JSON
{
  "hex": "#fffb4a",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 74
  },
  "hsl": {
    "h": 58.674,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.96198,
    "c": 0.18608,
    "h": 108.1
  },
  "luminance": 0.90749
}

Semantic roles & 50–950 ramp

primary
#FFFB4A
secondary
#2427CA
accent
#05E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FFFB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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