#FFFF56#FFFF56

#FFFF56 is a very light, vivid yellow. Relative luminance 0.935; OKLCH L 97.1% C 0.183 H 109.4°. Best body text is #000000 at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#FFFF56
RGBrgb(255, 255, 86)
HSLhsl(60, 100%, 67%)
HSVhsv(60, 66%, 100%)
CMYKcmyk(0%, 0%, 66.3%, 0%)
CIE-LABlab(97.41, -19.36, 76.95)
CIE-LCHlch(97.41, 79.35, 104.12°)
OKLaboklab(97.1% -0.0605 0.1722)
OKLCHoklch(97.1% 0.183 109.4)
XYZxyz(78.6824, 93.4542, 22.6960)
Luminance0.9345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF56 #5656FF
analogous
#FFAB56 #FFFF56 #ABFF56
triadic
#FFFF56 #56FFFF #FF56FF
tetradic
#FFFF56 #56FFAB #5656FF #FF56AB
square
#FFFF56 #56FFAB #5656FF #FF56AB
split-complementary
#FFFF56 #56ABFF #AB56FF
monochromatic
#DBDB00 #FFFF19 #FFFF56 #FFFF93 #FFFFD0

Accessibility & contrast

On white

1.07
#FFFF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.69
#FFFF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF56
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF56#FFFFFF#000000##000000
##FFFF561.001.0719.6919.69
#FFFFFF1.071.0021.0021.00
#00000019.6921.001.001.00
##00000019.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF53C
Deuteranopia (green-blind)
#FFFA62
Tritanopia (blue-blind)
#FFEFDD
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #ffff56;
/* rgb */ color: rgb(255, 255, 86);
/* oklch */ color: oklch(97.1% 0.183 109.4);
Tailwind
colors: {
  custom: {
    50: '#ffff8f',
    500: '#ffff56',
    950: '#000000',
  },
}
SCSS
$custom: #ffff56;
$custom-light: #ffff8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff56",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 86
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.97102,
    "c": 0.18257,
    "h": 109.4
  },
  "luminance": 0.93452
}

Semantic roles & 50–950 ramp

primary
#FFFF56
secondary
#2525D4
accent
#00E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFF56

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

Preview Lab → · Contrast checker → · Palette generator →

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