#FEC797#FEC797

#FEC797 is a very light, moderate orange. Relative luminance 0.642; OKLCH L 86.8% C 0.089 H 62.4°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#FEC797
RGBrgb(254, 199, 151)
HSLhsl(28, 98%, 79%)
HSVhsv(28, 41%, 100%)
CMYKcmyk(0%, 21.7%, 40.6%, 0.4%)
CIE-LABlab(84.05, 13.50, 31.52)
CIE-LCHlch(84.05, 34.29, 66.82°)
OKLaboklab(86.75% 0.0411 0.0785)
OKLCHoklch(86.75% 0.089 62.4)
XYZxyz(66.8847, 64.1558, 38.1325)
Luminance0.6415 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC797 #97CEFE
analogous
#FE979B #FEC797 #FEFA97
triadic
#FEC797 #97FEC7 #C797FE
tetradic
#FEC797 #9BFE97 #97CEFE #FA97FE
square
#FEC797 #9BFE97 #97CEFE #FA97FE
split-complementary
#FEC797 #97FEFA #979BFE
monochromatic
#FD861E #FDA65A #FEC797 #FFE8D4 #FFEFE1

Accessibility & contrast

On white

1.52
#FEC797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#FEC797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEC797
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEC797#FFFFFF#000000##000000
##FEC7971.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fec797;
/* rgb */ color: rgb(254, 199, 151);
/* oklch */ color: oklch(86.8% 0.089 62.4);
Tailwind
colors: {
  custom: {
    50: '#ffd8b6',
    500: '#fec797',
    950: '#000000',
  },
}
SCSS
$custom: #fec797;
$custom-light: #ffd8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fec797",
  "rgb": {
    "r": 254,
    "g": 199,
    "b": 151
  },
  "hsl": {
    "h": 27.961,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.86752,
    "c": 0.08855,
    "h": 62.4
  },
  "luminance": 0.64152
}

Semantic roles & 50–950 ramp

primary
#FEC797
secondary
#59A1E0
accent
#7BE600
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#181411
muted
#868381

Preview Lab

Preview with #FEC797

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

Preview Lab → · Contrast checker → · Palette generator →

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