#AFA28B#AFA28B

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

Color values

HEX#AFA28B
RGBrgb(175, 162, 139)
HSLhsl(38, 18%, 62%)
HSVhsv(38, 21%, 69%)
CMYKcmyk(0%, 7.4%, 20.6%, 31.4%)
CIE-LABlab(67.14, 0.90, 13.68)
CIE-LCHlch(67.14, 13.71, 86.24°)
OKLaboklab(71.71% 0.005 0.0353)
OKLCHoklch(71.71% 0.036 81.9)
XYZxyz(35.2597, 36.8195, 29.6705)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA28B #8B98AF
analogous
#AF908B #AFA28B #AAAF8B
triadic
#AFA28B #8BAFA2 #A28BAF
tetradic
#AFA28B #8BAF90 #8B98AF #AF8BAA
square
#AFA28B #8BAF90 #8B98AF #AF8BAA
split-complementary
#AFA28B #8BAAAF #908BAF
monochromatic
#71654E #968567 #AFA28B #C8BFAF #E1DCD3

Accessibility & contrast

On white

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

On black

8.36
#AFA28B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA28B
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA28B#FFFFFF#000000##000000
##AFA28B1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa28b;
/* rgb */ color: rgb(175, 162, 139);
/* oklch */ color: oklch(71.7% 0.036 81.9);
Tailwind
colors: {
  custom: {
    50: '#c7bdad',
    500: '#afa28b',
    950: '#000000',
  },
}
SCSS
$custom: #afa28b;
$custom-light: #c7bdad;
$custom-dark: #000000;
JSON
{
  "hex": "#afa28b",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 139
  },
  "hsl": {
    "h": 38.333,
    "s": 18.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.71712,
    "c": 0.03561,
    "h": 81.9
  },
  "luminance": 0.36819
}

Semantic roles & 50–950 ramp

primary
#AFA28B
secondary
#C4C9D2
accent
#679D49
background
#FCFBFA
surface
#F8F6F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA28B

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

Preview Lab → · Contrast checker → · Palette generator →

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