#AFA178#AFA178

#AFA178 is a light, muted orange. Relative luminance 0.360; OKLCH L 71.1% C 0.058 H 91.4°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#AFA178
RGBrgb(175, 161, 120)
HSLhsl(45, 26%, 58%)
HSVhsv(45, 31%, 69%)
CMYKcmyk(0%, 8%, 31.4%, 31.4%)
CIE-LABlab(66.49, -1.27, 23.24)
CIE-LCHlch(66.49, 23.28, 93.13°)
OKLaboklab(71.07% -0.0015 0.0584)
OKLCHoklch(71.07% 0.058 91.4)
XYZxyz(33.8146, 35.9607, 22.9255)
Luminance0.3596 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA178 #7886AF
analogous
#AF8578 #AFA178 #A1AF78
triadic
#AFA178 #78AFA1 #A178AF
tetradic
#AFA178 #78AF85 #7886AF #AF78A1
square
#AFA178 #78AF85 #7886AF #AF78A1
split-complementary
#AFA178 #78A1AF #8578AF
monochromatic
#6C6140 #938457 #AFA178 #C6BC9E #DDD7C5

Accessibility & contrast

On white

2.56
#AFA178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#AFA178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA178
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA178#FFFFFF#000000##000000
##AFA1781.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9F75
Deuteranopia (green-blind)
#AEA379
Tritanopia (blue-blind)
#B89B96
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa178;
/* rgb */ color: rgb(175, 161, 120);
/* oklch */ color: oklch(71.1% 0.058 91.4);
Tailwind
colors: {
  custom: {
    50: '#c7bc9f',
    500: '#afa178',
    950: '#000000',
  },
}
SCSS
$custom: #afa178;
$custom-light: #c7bc9f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa178",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 120
  },
  "hsl": {
    "h": 44.727,
    "s": 25.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.71072,
    "c": 0.05841,
    "h": 91.4
  },
  "luminance": 0.3596
}

Semantic roles & 50–950 ramp

primary
#AFA178
secondary
#B6BCCC
accent
#7DC266
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA178

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

Preview Lab → · Contrast checker → · Palette generator →

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