#FFDF56#FFDF56

#FFDF56 is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.6% C 0.155 H 95.9°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#FFDF56
RGBrgb(255, 223, 86)
HSLhsl(49, 100%, 67%)
HSVhsv(49, 66%, 100%)
CMYKcmyk(0%, 12.5%, 66.3%, 0%)
CIE-LABlab(89.26, -3.65, 68.61)
CIE-LCHlch(89.26, 68.70, 93.04°)
OKLaboklab(90.62% -0.016 0.1546)
OKLCHoklch(90.62% 0.155 95.9)
XYZxyz(69.3107, 74.7108, 19.5721)
Luminance0.7471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF56 #5676FF
analogous
#FF8B56 #FFDF56 #CBFF56
triadic
#FFDF56 #56FFDF #DF56FF
tetradic
#FFDF56 #56FF8B #5676FF #FF56CB
square
#FFDF56 #56FF8B #5676FF #FF56CB
split-complementary
#FFDF56 #56CBFF #8B56FF
monochromatic
#DBB100 #FFD319 #FFDF56 #FFEB93 #FFF6D0

Accessibility & contrast

On white

1.32
#FFDF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.94
#FFDF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF56
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF56#FFFFFF#000000##000000
##FFDF561.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA44
Deuteranopia (green-blind)
#FDE55D
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ffdf56;
/* rgb */ color: rgb(255, 223, 86);
/* oklch */ color: oklch(90.6% 0.155 95.9);
Tailwind
colors: {
  custom: {
    50: '#ffe88c',
    500: '#ffdf56',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf56;
$custom-light: #ffe88c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf56",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 86
  },
  "hsl": {
    "h": 48.639,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.9062,
    "c": 0.15544,
    "h": 95.9
  },
  "luminance": 0.74707
}

Semantic roles & 50–950 ramp

primary
#FFDF56
secondary
#2546D4
accent
#2BE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FFDF56

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

Preview Lab → · Contrast checker → · Palette generator →

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