#FFCD97#FFCD97

#FFCD97 is a very light, moderate orange. Relative luminance 0.672; OKLCH L 88.0% C 0.090 H 68.4°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#FFCD97
RGBrgb(255, 205, 151)
HSLhsl(31, 100%, 80%)
HSVhsv(31, 41%, 100%)
CMYKcmyk(0%, 19.6%, 40.8%, 0%)
CIE-LABlab(85.58, 10.77, 33.57)
CIE-LCHlch(85.58, 35.26, 72.22°)
OKLaboklab(87.98% 0.033 0.0833)
OKLCHoklch(87.98% 0.09 68.4)
XYZxyz(68.6595, 67.1606, 38.6190)
Luminance0.6716 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFCD97 #97C9FF
analogous
#FF9997 #FFCD97 #FDFF97
triadic
#FFCD97 #97FFCD #CD97FF
tetradic
#FFCD97 #97FF99 #97C9FF #FF97FD
square
#FFCD97 #97FF99 #97C9FF #FF97FD
split-complementary
#FFCD97 #97FDFF #9997FF
monochromatic
#FF921D #FFB05A #FFCD97 #FFEAD4 #FFF0E0

Accessibility & contrast

On white

1.46
#FFCD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#FFCD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFCD97
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFCD97#FFFFFF#000000##000000
##FFCD971.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECF93
Deuteranopia (green-blind)
#EADB98
Tritanopia (blue-blind)
#FFC1BF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ffcd97;
/* rgb */ color: rgb(255, 205, 151);
/* oklch */ color: oklch(88.0% 0.090 68.4);
Tailwind
colors: {
  custom: {
    50: '#ffdcb6',
    500: '#ffcd97',
    950: '#000000',
  },
}
SCSS
$custom: #ffcd97;
$custom-light: #ffdcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffcd97",
  "rgb": {
    "r": 255,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 31.154,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.87977,
    "c": 0.08956,
    "h": 68.4
  },
  "luminance": 0.67157
}

Semantic roles & 50–950 ramp

primary
#FFCD97
secondary
#599AE2
accent
#6EE600
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181511
muted
#868481

Preview Lab

Preview with #FFCD97

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

Preview Lab → · Contrast checker → · Palette generator →

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