#AFA28C#AFA28C

#AFA28C is a light, muted orange. Relative luminance 0.368; OKLCH L 71.7% C 0.034 H 80.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#AFA28C
RGBrgb(175, 162, 140)
HSLhsl(38, 18%, 62%)
HSVhsv(38, 20%, 69%)
CMYKcmyk(0%, 7.4%, 20%, 31.4%)
CIE-LABlab(67.16, 1.05, 13.16)
CIE-LCHlch(67.16, 13.20, 85.43°)
OKLaboklab(71.74% 0.0054 0.034)
OKLCHoklch(71.74% 0.034 80.9)
XYZxyz(35.3331, 36.8488, 30.0571)
Luminance0.3685 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA28C #8C99AF
analogous
#AF918C #AFA28C #ABAF8C
triadic
#AFA28C #8CAFA2 #A28CAF
tetradic
#AFA28C #8CAF91 #8C99AF #AF8CAB
square
#AFA28C #8CAF91 #8C99AF #AF8CAB
split-complementary
#AFA28C #8CABAF #918CAF
monochromatic
#72654F #968568 #AFA28C #C8BFB0 #E1DCD4

Accessibility & contrast

On white

2.51
#AFA28C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#AFA28C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA28C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA28C#FFFFFF#000000##000000
##AFA28C1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A28B
Deuteranopia (green-blind)
#ABA58D
Tritanopia (blue-blind)
#B59E9C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa28c;
/* rgb */ color: rgb(175, 162, 140);
/* oklch */ color: oklch(71.7% 0.034 80.9);
Tailwind
colors: {
  custom: {
    50: '#c7bdad',
    500: '#afa28c',
    950: '#000000',
  },
}
SCSS
$custom: #afa28c;
$custom-light: #c7bdad;
$custom-dark: #000000;
JSON
{
  "hex": "#afa28c",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 140
  },
  "hsl": {
    "h": 37.714,
    "s": 17.949,
    "l": 61.765
  },
  "oklch": {
    "l": 0.71736,
    "c": 0.03439,
    "h": 80.9
  },
  "luminance": 0.36848
}

Semantic roles & 50–950 ramp

primary
#AFA28C
secondary
#C5CAD2
accent
#689C49
background
#FCFBFA
surface
#F8F6F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA28C

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

Preview Lab → · Contrast checker → · Palette generator →

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