#AFA28F#AFA28F

#AFA28F is a light, muted orange. Relative luminance 0.369; OKLCH L 71.8% C 0.031 H 77.5°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#AFA28F
RGBrgb(175, 162, 143)
HSLhsl(36, 17%, 62%)
HSVhsv(36, 18%, 69%)
CMYKcmyk(0%, 7.4%, 18.3%, 31.4%)
CIE-LABlab(67.23, 1.52, 11.59)
CIE-LCHlch(67.23, 11.69, 82.53°)
OKLaboklab(71.81% 0.0067 0.03)
OKLCHoklch(71.81% 0.031 77.5)
XYZxyz(35.5573, 36.9385, 31.2380)
Luminance0.3694 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA28F #8F9CAF
analogous
#AF928F #AFA28F #ACAF8F
triadic
#AFA28F #8FAFA2 #A28FAF
tetradic
#AFA28F #8FAF92 #8F9CAF #AF8FAC
square
#AFA28F #8FAF92 #8F9CAF #AF8FAC
split-complementary
#AFA28F #8FACAF #928FAF
monochromatic
#726551 #96846B #AFA28F #C9C0B3 #E2DDD6

Accessibility & contrast

On white

2.50
#AFA28F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#AFA28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA28F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA28F#FFFFFF#000000##000000
##AFA28F1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A28E
Deuteranopia (green-blind)
#ABA58F
Tritanopia (blue-blind)
#B59E9D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa28f;
/* rgb */ color: rgb(175, 162, 143);
/* oklch */ color: oklch(71.8% 0.031 77.5);
Tailwind
colors: {
  custom: {
    50: '#c7bdaf',
    500: '#afa28f',
    950: '#000000',
  },
}
SCSS
$custom: #afa28f;
$custom-light: #c7bdaf;
$custom-dark: #000000;
JSON
{
  "hex": "#afa28f",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 143
  },
  "hsl": {
    "h": 35.625,
    "s": 16.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.71812,
    "c": 0.03076,
    "h": 77.5
  },
  "luminance": 0.36938
}

Semantic roles & 50–950 ramp

primary
#AFA28F
secondary
#C7CCD3
accent
#6B9B4B
background
#FCFBFA
surface
#F8F6F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA28F

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

Preview Lab → · Contrast checker → · Palette generator →

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