#AF7B2A#AF7B2A

#AF7B2A is a light, moderate orange. Relative luminance 0.234; OKLCH L 62.1% C 0.114 H 74.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AF7B2A
RGBrgb(175, 123, 42)
HSLhsl(37, 61%, 43%)
HSVhsv(37, 76%, 69%)
CMYKcmyk(0%, 29.7%, 76%, 31.4%)
CIE-LABlab(55.53, 12.81, 49.90)
CIE-LCHlch(55.53, 51.51, 75.61°)
OKLaboklab(62.14% 0.0311 0.11)
OKLCHoklch(62.14% 0.114 74.2)
XYZxyz(25.1819, 23.4492, 5.3899)
Luminance0.2345 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7B2A #2A5EAF
analogous
#AF382A #AF7B2A #A1AF2A
triadic
#AF7B2A #2AAF7B #7B2AAF
tetradic
#AF7B2A #2AAF38 #2A5EAF #AF2AA1
square
#AF7B2A #2AAF38 #2A5EAF #AF2AA1
split-complementary
#AF7B2A #2AA1AF #382AAF
monochromatic
#4C3612 #7E581E #AF7B2A #D29B44 #DEB575

Accessibility & contrast

On white

3.69
#AF7B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#AF7B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7B2A
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7B2A#FFFFFF#000000##000000
##AF7B2A1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1E
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#BF6D6B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af7b2a;
/* rgb */ color: rgb(175, 123, 42);
/* oklch */ color: oklch(62.1% 0.114 74.2);
Tailwind
colors: {
  custom: {
    50: '#cca169',
    500: '#af7b2a',
    950: '#000000',
  },
}
SCSS
$custom: #af7b2a;
$custom-light: #cca169;
$custom-dark: #000000;
JSON
{
  "hex": "#af7b2a",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 36.541,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.62136,
    "c": 0.11427,
    "h": 74.2
  },
  "luminance": 0.23447
}

Semantic roles & 50–950 ramp

primary
#AF7B2A
secondary
#6F91C6
accent
#82E443
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E07
muted
#837E7A

Preview Lab

Preview with #AF7B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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