#FFC997#FFC997

#FFC997 is a very light, moderate orange. Relative luminance 0.653; OKLCH L 87.2% C 0.089 H 64.0°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#FFC997
RGBrgb(255, 201, 151)
HSLhsl(29, 100%, 80%)
HSVhsv(29, 41%, 100%)
CMYKcmyk(0%, 21.2%, 40.8%, 0%)
CIE-LABlab(84.62, 12.84, 32.30)
CIE-LCHlch(84.62, 34.76, 68.32°)
OKLaboklab(87.23% 0.0391 0.0803)
OKLCHoklch(87.23% 0.089 64)
XYZxyz(67.7149, 65.2714, 38.3041)
Luminance0.6527 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFC997 #97CDFF
analogous
#FF9799 #FFC997 #FFFD97
triadic
#FFC997 #97FFC9 #C997FF
tetradic
#FFC997 #99FF97 #97CDFF #FD97FF
square
#FFC997 #99FF97 #97CDFF #FD97FF
split-complementary
#FFC997 #97FFFD #9799FF
monochromatic
#FF891D #FFA95A #FFC997 #FFE9D4 #FFEFE0

Accessibility & contrast

On white

1.49
#FFC997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#FFC997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFC997
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFC997#FFFFFF#000000##000000
##FFC9971.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DACC93
Deuteranopia (green-blind)
#E7D898
Tritanopia (blue-blind)
#FFBDBC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ffc997;
/* rgb */ color: rgb(255, 201, 151);
/* oklch */ color: oklch(87.2% 0.089 64.0);
Tailwind
colors: {
  custom: {
    50: '#ffd9b6',
    500: '#ffc997',
    950: '#000000',
  },
}
SCSS
$custom: #ffc997;
$custom-light: #ffd9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffc997",
  "rgb": {
    "r": 255,
    "g": 201,
    "b": 151
  },
  "hsl": {
    "h": 28.846,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.87225,
    "c": 0.0893,
    "h": 64
  },
  "luminance": 0.65268
}

Semantic roles & 50–950 ramp

primary
#FFC997
secondary
#59A0E2
accent
#77E600
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#181411
muted
#868381

Preview Lab

Preview with #FFC997

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

Preview Lab → · Contrast checker → · Palette generator →

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