#FFFB4D#FFFB4D

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

Color values

HEX#FFFB4D
RGBrgb(255, 251, 77)
HSLhsl(59, 100%, 65%)
HSVhsv(59, 70%, 100%)
CMYKcmyk(0%, 1.6%, 69.8%, 0%)
CIE-LABlab(96.32, -17.89, 79.06)
CIE-LCHlch(96.32, 81.06, 102.75°)
OKLaboklab(96.22% -0.0572 0.1752)
OKLCHoklch(96.22% 0.184 108.1)
XYZxyz(77.0796, 90.7927, 20.4842)
Luminance0.9079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFB4D #4D51FF
analogous
#FFA24D #FFFB4D #AAFF4D
triadic
#FFFB4D #4DFFFB #FB4DFF
tetradic
#FFFB4D #4DFFA2 #4D51FF #FF4DAA
square
#FFFB4D #4DFFA2 #4D51FF #FF4DAA
split-complementary
#FFFB4D #4DAAFF #A24DFF
monochromatic
#D2CD00 #FFFA10 #FFFB4D #FFFC8A #FFFEC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFB4D#FFFFFF#000000##000000
##FFFB4D1.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)
#FFF12E
Deuteranopia (green-blind)
#FFF75A
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fffb4d;
/* rgb */ color: rgb(255, 251, 77);
/* oklch */ color: oklch(96.2% 0.184 108.1);
Tailwind
colors: {
  custom: {
    50: '#fffc89',
    500: '#fffb4d',
    950: '#000000',
  },
}
SCSS
$custom: #fffb4d;
$custom-light: #fffc89;
$custom-dark: #000000;
JSON
{
  "hex": "#fffb4d",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 77
  },
  "hsl": {
    "h": 58.652,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.96217,
    "c": 0.18435,
    "h": 108.1
  },
  "luminance": 0.9079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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