#FFFB51#FFFB51

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

Color values

HEX#FFFB51
RGBrgb(255, 251, 81)
HSLhsl(59, 100%, 66%)
HSVhsv(59, 68%, 100%)
CMYKcmyk(0%, 1.6%, 68.2%, 0%)
CIE-LABlab(96.35, -17.70, 77.69)
CIE-LCHlch(96.35, 79.68, 102.83°)
OKLaboklab(96.24% -0.0563 0.173)
OKLCHoklch(96.24% 0.182 108)
XYZxyz(77.2252, 90.8509, 21.2510)
Luminance0.9085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFB51 #5155FF
analogous
#FFA451 #FFFB51 #ACFF51
triadic
#FFFB51 #51FFFB #FB51FF
tetradic
#FFFB51 #51FFA4 #5155FF #FF51AC
square
#FFFB51 #51FFA4 #5155FF #FF51AC
split-complementary
#FFFB51 #51ACFF #A451FF
monochromatic
#D6D100 #FFFA14 #FFFB51 #FFFC8E #FFFECB

Accessibility & contrast

On white

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

On black

19.17
#FFFB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFB51
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFB51#FFFFFF#000000##000000
##FFFB511.001.1019.1719.17
#FFFFFF1.101.0021.0021.00
#00000019.1721.001.001.00
##00000019.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffb51;
/* rgb */ color: rgb(255, 251, 81);
/* oklch */ color: oklch(96.2% 0.182 108.0);
Tailwind
colors: {
  custom: {
    50: '#fffc8b',
    500: '#fffb51',
    950: '#000000',
  },
}
SCSS
$custom: #fffb51;
$custom-light: #fffc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#fffb51",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 81
  },
  "hsl": {
    "h": 58.621,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.96244,
    "c": 0.18195,
    "h": 108
  },
  "luminance": 0.90848
}

Semantic roles & 50–950 ramp

primary
#FFFB51
secondary
#2529D0
accent
#05E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFB51

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

Preview Lab → · Contrast checker → · Palette generator →

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