#FFC797#FFC797

#FFC797 is a very light, moderate orange. Relative luminance 0.643; OKLCH L 86.9% C 0.089 H 61.8°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#FFC797
RGBrgb(255, 199, 151)
HSLhsl(28, 100%, 80%)
HSVhsv(28, 41%, 100%)
CMYKcmyk(0%, 22%, 40.8%, 0%)
CIE-LABlab(84.15, 13.89, 31.67)
CIE-LCHlch(84.15, 34.58, 66.32°)
OKLaboklab(86.85% 0.0422 0.0788)
OKLCHoklch(86.85% 0.089 61.8)
XYZxyz(67.2517, 64.3450, 38.1497)
Luminance0.6434 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFC797 #97CFFF
analogous
#FF979B #FFC797 #FFFB97
triadic
#FFC797 #97FFC7 #C797FF
tetradic
#FFC797 #9BFF97 #97CFFF #FB97FF
square
#FFC797 #9BFF97 #97CFFF #FB97FF
split-complementary
#FFC797 #97FFFB #979BFF
monochromatic
#FF851D #FFA65A #FFC797 #FFE8D4 #FFEFE0

Accessibility & contrast

On white

1.51
#FFC797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#FFC797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFC797
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFC797#FFFFFF#000000##000000
##FFC7971.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CB94
Deuteranopia (green-blind)
#E6D798
Tritanopia (blue-blind)
#FFBBBA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ffc797;
/* rgb */ color: rgb(255, 199, 151);
/* oklch */ color: oklch(86.9% 0.089 61.8);
Tailwind
colors: {
  custom: {
    50: '#ffd8b6',
    500: '#ffc797',
    950: '#000000',
  },
}
SCSS
$custom: #ffc797;
$custom-light: #ffd8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffc797",
  "rgb": {
    "r": 255,
    "g": 199,
    "b": 151
  },
  "hsl": {
    "h": 27.692,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.86851,
    "c": 0.08937,
    "h": 61.8
  },
  "luminance": 0.64341
}

Semantic roles & 50–950 ramp

primary
#FFC797
secondary
#59A2E2
accent
#7CE600
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#181411
muted
#868381

Preview Lab

Preview with #FFC797

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

Preview Lab → · Contrast checker → · Palette generator →

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