#FFD956#FFD956

#FFD956 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.4% C 0.151 H 92.8°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#FFD956
RGBrgb(255, 217, 86)
HSLhsl(47, 100%, 67%)
HSVhsv(47, 66%, 100%)
CMYKcmyk(0%, 14.9%, 66.3%, 0%)
CIE-LABlab(87.76, -0.62, 67.04)
CIE-LCHlch(87.76, 67.04, 90.53°)
OKLaboklab(89.43% -0.0073 0.1513)
OKLCHoklch(89.43% 0.151 92.8)
XYZxyz(67.7360, 71.5613, 19.0472)
Luminance0.7156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD956 #567CFF
analogous
#FF8556 #FFD956 #D1FF56
triadic
#FFD956 #56FFD9 #D956FF
tetradic
#FFD956 #56FF85 #567CFF #FF56D1
square
#FFD956 #56FF85 #567CFF #FF56D1
split-complementary
#FFD956 #56D1FF #8556FF
monochromatic
#DBA900 #FFCB19 #FFD956 #FFE793 #FFF5D0

Accessibility & contrast

On white

1.37
#FFD956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#FFD956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD956
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD956#FFFFFF#000000##000000
##FFD9561.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD646
Deuteranopia (green-blind)
#F9E15C
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ffd956;
/* rgb */ color: rgb(255, 217, 86);
/* oklch */ color: oklch(89.4% 0.151 92.8);
Tailwind
colors: {
  custom: {
    50: '#ffe48c',
    500: '#ffd956',
    950: '#000000',
  },
}
SCSS
$custom: #ffd956;
$custom-light: #ffe48c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd956",
  "rgb": {
    "r": 255,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 46.509,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89434,
    "c": 0.15148,
    "h": 92.8
  },
  "luminance": 0.71558
}

Semantic roles & 50–950 ramp

primary
#FFD956
secondary
#254DD4
accent
#34E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #FFD956

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

Preview Lab → · Contrast checker → · Palette generator →

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