#AF6842#AF6842

#AF6842 is a mid, moderate orange. Relative luminance 0.194; OKLCH L 58.8% C 0.105 H 48.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF6842
RGBrgb(175, 104, 66)
HSLhsl(21, 45%, 47%)
HSVhsv(21, 62%, 69%)
CMYKcmyk(0%, 40.6%, 62.3%, 31.4%)
CIE-LABlab(51.16, 24.83, 33.25)
CIE-LCHlch(51.16, 41.50, 53.25°)
OKLaboklab(58.83% 0.0705 0.0783)
OKLCHoklch(58.83% 0.105 48)
XYZxyz(23.6146, 19.4103, 7.6561)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6842 #4289AF
analogous
#AF4253 #AF6842 #AF9E42
triadic
#AF6842 #42AF68 #6842AF
tetradic
#AF6842 #53AF42 #4289AF #9E42AF
square
#AF6842 #53AF42 #4289AF #9E42AF
split-complementary
#AF6842 #42AF9E #4253AF
monochromatic
#563320 #834E31 #AF6842 #C68968 #D7AC95

Accessibility & contrast

On white

4.30
#AF6842 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AF6842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6842
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6842#FFFFFF#000000##000000
##AF68421.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C703F
Deuteranopia (green-blind)
#8C8041
Tritanopia (blue-blind)
#BE5A5F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af6842;
/* rgb */ color: rgb(175, 104, 66);
/* oklch */ color: oklch(58.8% 0.105 48.0);
Tailwind
colors: {
  custom: {
    50: '#cb9477',
    500: '#af6842',
    950: '#000000',
  },
}
SCSS
$custom: #af6842;
$custom-light: #cb9477;
$custom-dark: #000000;
JSON
{
  "hex": "#af6842",
  "rgb": {
    "r": 175,
    "g": 104,
    "b": 66
  },
  "hsl": {
    "h": 20.917,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58826,
    "c": 0.10537,
    "h": 48
  },
  "luminance": 0.19408
}

Semantic roles & 50–950 ramp

primary
#AF6842
secondary
#8AAFC2
accent
#A8D553
background
#FDF9F7
surface
#FAF1ED
border
#D3CBC8
text
#140D09
muted
#837E7B

Preview Lab

Preview with #AF6842

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

Preview Lab → · Contrast checker → · Palette generator →

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