#AF842E#AF842E

#AF842E is a light, moderate orange. Relative luminance 0.258; OKLCH L 64.0% C 0.113 H 81.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AF842E
RGBrgb(175, 132, 46)
HSLhsl(40, 58%, 43%)
HSVhsv(40, 74%, 69%)
CMYKcmyk(0%, 24.6%, 73.7%, 31.4%)
CIE-LABlab(57.86, 7.97, 50.51)
CIE-LCHlch(57.86, 51.13, 81.04°)
OKLaboklab(63.97% 0.0176 0.1121)
OKLCHoklch(63.97% 0.113 81.1)
XYZxyz(26.4253, 25.8157, 6.1754)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF842E #2E59AF
analogous
#AF432E #AF842E #99AF2E
triadic
#AF842E #2EAF84 #842EAF
tetradic
#AF842E #2EAF43 #2E59AF #AF2E99
square
#AF842E #2EAF43 #2E59AF #AF2E99
split-complementary
#AF842E #2E99AF #432EAF
monochromatic
#4E3B15 #7F5F21 #AF842E #D0A34B #DCBC7B

Accessibility & contrast

On white

3.41
#AF842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#AF842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF842E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF842E#FFFFFF#000000##000000
##AF842E1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958522
Deuteranopia (green-blind)
#A08F32
Tritanopia (blue-blind)
#BE7773
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af842e;
/* rgb */ color: rgb(175, 132, 46);
/* oklch */ color: oklch(64.0% 0.113 81.1);
Tailwind
colors: {
  custom: {
    50: '#cba76c',
    500: '#af842e',
    950: '#000000',
  },
}
SCSS
$custom: #af842e;
$custom-light: #cba76c;
$custom-dark: #000000;
JSON
{
  "hex": "#af842e",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 40,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.63968,
    "c": 0.11346,
    "h": 81.1
  },
  "luminance": 0.25814
}

Semantic roles & 50–950 ramp

primary
#AF842E
secondary
#748FC5
accent
#7AE246
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF842E

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

Preview Lab → · Contrast checker → · Palette generator →

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