#AF6B2F#AF6B2F

#AF6B2F is a mid, moderate orange. Relative luminance 0.198; OKLCH L 59.1% C 0.114 H 58.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AF6B2F
RGBrgb(175, 107, 47)
HSLhsl(28, 58%, 44%)
HSVhsv(28, 73%, 69%)
CMYKcmyk(0%, 38.9%, 73.1%, 31.4%)
CIE-LABlab(51.65, 22.00, 43.70)
CIE-LCHlch(51.65, 48.92, 63.28°)
OKLaboklab(59.13% 0.059 0.0978)
OKLCHoklch(59.13% 0.114 58.9)
XYZxyz(23.4519, 19.8369, 5.2826)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6B2F #2F73AF
analogous
#AF2F33 #AF6B2F #AFAB2F
triadic
#AF6B2F #2FAF6B #6B2FAF
tetradic
#AF6B2F #33AF2F #2F73AF #AB2FAF
square
#AF6B2F #33AF2F #2F73AF #AB2FAF
split-complementary
#AF6B2F #2FAFAB #2F33AF
monochromatic
#4F3015 #7F4E22 #AF6B2F #CF8A4C #DCA97C

Accessibility & contrast

On white

4.23
#AF6B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AF6B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6B2F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6B2F#FFFFFF#000000##000000
##AF6B2F1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#807228
Deuteranopia (green-blind)
#90812F
Tritanopia (blue-blind)
#BF5C5E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af6b2f;
/* rgb */ color: rgb(175, 107, 47);
/* oklch */ color: oklch(59.1% 0.114 58.9);
Tailwind
colors: {
  custom: {
    50: '#cc956b',
    500: '#af6b2f',
    950: '#000000',
  },
}
SCSS
$custom: #af6b2f;
$custom-light: #cc956b;
$custom-dark: #000000;
JSON
{
  "hex": "#af6b2f",
  "rgb": {
    "r": 175,
    "g": 107,
    "b": 47
  },
  "hsl": {
    "h": 28.125,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.59134,
    "c": 0.1142,
    "h": 58.9
  },
  "luminance": 0.19835
}

Semantic roles & 50–950 ramp

primary
#AF6B2F
secondary
#759FC4
accent
#99E147
background
#FDF9F6
surface
#FAF1EB
border
#D3CBC6
text
#140D07
muted
#837E7A

Preview Lab

Preview with #AF6B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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