#AFA799#AFA799

#AFA799 is a light, muted orange. Relative luminance 0.391; OKLCH L 73.1% C 0.022 H 81.8°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#AFA799
RGBrgb(175, 167, 153)
HSLhsl(38, 12%, 64%)
HSVhsv(38, 13%, 69%)
CMYKcmyk(0%, 4.6%, 12.6%, 31.4%)
CIE-LABlab(68.79, 0.42, 8.27)
CIE-LCHlch(68.79, 8.28, 87.06°)
OKLaboklab(73.11% 0.0031 0.0216)
OKLCHoklch(73.11% 0.022 81.8)
XYZxyz(37.2472, 39.0518, 35.7064)
Luminance0.3905 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA799 #99A1AF
analogous
#AF9C99 #AFA799 #ACAF99
triadic
#AFA799 #99AFA7 #A799AF
tetradic
#AFA799 #99AF9C #99A1AF #AF99AC
square
#AFA799 #99AF9C #99A1AF #AF99AC
split-complementary
#AFA799 #99ACAF #9C99AF
monochromatic
#736A5A #948977 #AFA799 #CAC5BB #E5E2DE

Accessibility & contrast

On white

2.38
#AFA799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#AFA799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA799
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA799#FFFFFF#000000##000000
##AFA7991.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABA798
Deuteranopia (green-blind)
#ADA999
Tritanopia (blue-blind)
#B3A4A3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa799;
/* rgb */ color: rgb(175, 167, 153);
/* oklch */ color: oklch(73.1% 0.022 81.8);
Tailwind
colors: {
  custom: {
    50: '#c7c1b7',
    500: '#afa799',
    950: '#000000',
  },
}
SCSS
$custom: #afa799;
$custom-light: #c7c1b7;
$custom-dark: #000000;
JSON
{
  "hex": "#afa799",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 153
  },
  "hsl": {
    "h": 38.182,
    "s": 12.088,
    "l": 64.314
  },
  "oklch": {
    "l": 0.73113,
    "c": 0.0218,
    "h": 81.8
  },
  "luminance": 0.39051
}

Semantic roles & 50–950 ramp

primary
#AFA799
secondary
#CED1D6
accent
#69964F
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#131211
muted
#828180

Preview Lab

Preview with #AFA799

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

Preview Lab → · Contrast checker → · Palette generator →

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