#FFFA56#FFFA56

#FFFA56 is a very light, vivid yellow. Relative luminance 0.903; OKLCH L 96.1% C 0.178 H 107.6°. Best body text is #000000 at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#FFFA56
RGBrgb(255, 250, 86)
HSLhsl(58, 100%, 67%)
HSVhsv(58, 66%, 100%)
CMYKcmyk(0%, 2%, 66.3%, 0%)
CIE-LABlab(96.12, -16.96, 75.65)
CIE-LCHlch(96.12, 77.53, 102.64°)
OKLaboklab(96.08% -0.0538 0.1695)
OKLCHoklch(96.08% 0.178 107.6)
XYZxyz(77.1081, 90.3056, 22.1713)
Luminance0.9030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA56 #565BFF
analogous
#FFA656 #FFFA56 #B0FF56
triadic
#FFFA56 #56FFFA #FA56FF
tetradic
#FFFA56 #56FFA6 #565BFF #FF56B0
square
#FFFA56 #56FFA6 #565BFF #FF56B0
split-complementary
#FFFA56 #56B0FF #A656FF
monochromatic
#DBD400 #FFF819 #FFFA56 #FFFC93 #FFFED0

Accessibility & contrast

On white

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

On black

19.06
#FFFA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA56
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA56#FFFFFF#000000##000000
##FFFA561.001.1019.0619.06
#FFFFFF1.101.0021.0021.00
#00000019.0621.001.001.00
##00000019.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF03E
Deuteranopia (green-blind)
#FFF761
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fffa56;
/* rgb */ color: rgb(255, 250, 86);
/* oklch */ color: oklch(96.1% 0.178 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffb8e',
    500: '#fffa56',
    950: '#000000',
  },
}
SCSS
$custom: #fffa56;
$custom-light: #fffb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa56",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 86
  },
  "hsl": {
    "h": 58.225,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.96075,
    "c": 0.17783,
    "h": 107.6
  },
  "luminance": 0.90303
}

Semantic roles & 50–950 ramp

primary
#FFFA56
secondary
#252BD4
accent
#07E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFA56

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

Preview Lab → · Contrast checker → · Palette generator →

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