#FFDC97#FFDC97

#FFDC97 is a very light, moderate orange. Relative luminance 0.747; OKLCH L 90.8% C 0.095 H 83.8°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#FFDC97
RGBrgb(255, 220, 151)
HSLhsl(40, 100%, 80%)
HSVhsv(40, 41%, 100%)
CMYKcmyk(0%, 13.7%, 40.8%, 0%)
CIE-LABlab(89.24, 3.04, 38.37)
CIE-LCHlch(89.24, 38.49, 85.47°)
OKLaboklab(90.85% 0.0103 0.0944)
OKLCHoklch(90.85% 0.095 83.8)
XYZxyz(72.4211, 74.6839, 39.8728)
Luminance0.7468 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDC97 #97BAFF
analogous
#FFA897 #FFDC97 #EEFF97
triadic
#FFDC97 #97FFDC #DC97FF
tetradic
#FFDC97 #97FFA8 #97BAFF #FF97EE
square
#FFDC97 #97FFA8 #97BAFF #FF97EE
split-complementary
#FFDC97 #97EEFF #A897FF
monochromatic
#FFB31D #FFC75A #FFDC97 #FFF1D4 #FFF5E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFDC97#FFFFFF#000000##000000
##FFDC971.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)
#ECDB92
Deuteranopia (green-blind)
#F5E499
Tritanopia (blue-blind)
#FFD0CA
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ffdc97;
/* rgb */ color: rgb(255, 220, 151);
/* oklch */ color: oklch(90.8% 0.095 83.8);
Tailwind
colors: {
  custom: {
    50: '#ffe6b6',
    500: '#ffdc97',
    950: '#000000',
  },
}
SCSS
$custom: #ffdc97;
$custom-light: #ffe6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdc97",
  "rgb": {
    "r": 255,
    "g": 220,
    "b": 151
  },
  "hsl": {
    "h": 39.808,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.90848,
    "c": 0.09497,
    "h": 83.8
  },
  "luminance": 0.74681
}

Semantic roles & 50–950 ramp

primary
#FFDC97
secondary
#5987E2
accent
#4DE600
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181511
muted
#868481

Preview Lab

Preview with #FFDC97

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

Preview Lab → · Contrast checker → · Palette generator →

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