#FFFB4C#FFFB4C

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

Color values

HEX#FFFB4C
RGBrgb(255, 251, 76)
HSLhsl(59, 100%, 65%)
HSVhsv(59, 70%, 100%)
CMYKcmyk(0%, 1.6%, 70.2%, 0%)
CIE-LABlab(96.32, -17.93, 79.40)
CIE-LCHlch(96.32, 81.40, 102.73°)
OKLaboklab(96.21% -0.0575 0.1758)
OKLCHoklch(96.21% 0.185 108.1)
XYZxyz(77.0446, 90.7787, 20.2997)
Luminance0.9078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFB4C #4C50FF
analogous
#FFA14C #FFFB4C #AAFF4C
triadic
#FFFB4C #4CFFFB #FB4CFF
tetradic
#FFFB4C #4CFFA1 #4C50FF #FF4CAA
square
#FFFB4C #4CFFA1 #4C50FF #FF4CAA
split-complementary
#FFFB4C #4CAAFF #A14CFF
monochromatic
#D1CC00 #FFFA0F #FFFB4C #FFFC89 #FFFEC6

Accessibility & contrast

On white

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

On black

19.16
#FFFB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFB4C
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFB4C#FFFFFF#000000##000000
##FFFB4C1.001.1019.1619.16
#FFFFFF1.101.0021.0021.00
#00000019.1621.001.001.00
##00000019.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffb4c;
/* rgb */ color: rgb(255, 251, 76);
/* oklch */ color: oklch(96.2% 0.185 108.1);
Tailwind
colors: {
  custom: {
    50: '#fffc89',
    500: '#fffb4c',
    950: '#000000',
  },
}
SCSS
$custom: #fffb4c;
$custom-light: #fffc89;
$custom-dark: #000000;
JSON
{
  "hex": "#fffb4c",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 76
  },
  "hsl": {
    "h": 58.659,
    "s": 100,
    "l": 64.902
  },
  "oklch": {
    "l": 0.96211,
    "c": 0.18494,
    "h": 108.1
  },
  "luminance": 0.90776
}

Semantic roles & 50–950 ramp

primary
#FFFB4C
secondary
#2428CB
accent
#05E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FFFB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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