#AFA397#AFA397

#AFA397 is a light, muted orange. Relative luminance 0.375; OKLCH L 72.2% C 0.022 H 67.5°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#AFA397
RGBrgb(175, 163, 151)
HSLhsl(30, 13%, 64%)
HSVhsv(30, 14%, 69%)
CMYKcmyk(0%, 6.9%, 13.7%, 31.4%)
CIE-LABlab(67.68, 2.27, 7.80)
CIE-LCHlch(67.68, 8.12, 73.76°)
OKLaboklab(72.23% 0.0085 0.0204)
OKLCHoklch(72.23% 0.022 67.5)
XYZxyz(36.3619, 37.5433, 34.6032)
Luminance0.3754 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA397 #97A3AF
analogous
#AF9797 #AFA397 #AFAF97
triadic
#AFA397 #97AFA3 #A397AF
tetradic
#AFA397 #97AF97 #97A3AF #AF97AF
square
#AFA397 #97AF97 #97A3AF #AF97AF
split-complementary
#AFA397 #97AFAF #9797AF
monochromatic
#736659 #948474 #AFA397 #CAC2BA #E4E0DC

Accessibility & contrast

On white

2.47
#AFA397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#AFA397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA397
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA397#FFFFFF#000000##000000
##AFA3971.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7A396
Deuteranopia (green-blind)
#AAA697
Tritanopia (blue-blind)
#B4A0A0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa397;
/* rgb */ color: rgb(175, 163, 151);
/* oklch */ color: oklch(72.2% 0.022 67.5);
Tailwind
colors: {
  custom: {
    50: '#c7beb5',
    500: '#afa397',
    950: '#000000',
  },
}
SCSS
$custom: #afa397;
$custom-light: #c7beb5;
$custom-dark: #000000;
JSON
{
  "hex": "#afa397",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 151
  },
  "hsl": {
    "h": 30,
    "s": 13.043,
    "l": 63.922
  },
  "oklch": {
    "l": 0.72228,
    "c": 0.02207,
    "h": 67.5
  },
  "luminance": 0.37543
}

Semantic roles & 50–950 ramp

primary
#AFA397
secondary
#CDD1D5
accent
#73974E
background
#FCFBFB
surface
#F8F6F6
border
#D1D0D0
text
#131211
muted
#828180

Preview Lab

Preview with #AFA397

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

Preview Lab → · Contrast checker → · Palette generator →

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