#AF7C2A#AF7C2A

#AF7C2A is a light, moderate orange. Relative luminance 0.237; OKLCH L 62.3% C 0.114 H 75.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AF7C2A
RGBrgb(175, 124, 42)
HSLhsl(37, 61%, 43%)
HSVhsv(37, 76%, 69%)
CMYKcmyk(0%, 29.1%, 76%, 31.4%)
CIE-LABlab(55.78, 12.25, 50.14)
CIE-LCHlch(55.78, 51.62, 76.27°)
OKLaboklab(62.33% 0.0295 0.1105)
OKLCHoklch(62.33% 0.114 75)
XYZxyz(25.3066, 23.6985, 5.4315)
Luminance0.2370 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7C2A #2A5DAF
analogous
#AF392A #AF7C2A #A0AF2A
triadic
#AF7C2A #2AAF7C #7C2AAF
tetradic
#AF7C2A #2AAF39 #2A5DAF #AF2AA0
square
#AF7C2A #2AAF39 #2A5DAF #AF2AA0
split-complementary
#AF7C2A #2AA0AF #392AAF
monochromatic
#4C3612 #7E591E #AF7C2A #D29C44 #DEB675

Accessibility & contrast

On white

3.66
#AF7C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#AF7C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7C2A
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7C2A#FFFFFF#000000##000000
##AF7C2A1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E1E
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#BF6E6B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af7c2a;
/* rgb */ color: rgb(175, 124, 42);
/* oklch */ color: oklch(62.3% 0.114 75.0);
Tailwind
colors: {
  custom: {
    50: '#cca169',
    500: '#af7c2a',
    950: '#000000',
  },
}
SCSS
$custom: #af7c2a;
$custom-light: #cca169;
$custom-dark: #000000;
JSON
{
  "hex": "#af7c2a",
  "rgb": {
    "r": 175,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 36.992,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.62333,
    "c": 0.11435,
    "h": 75
  },
  "luminance": 0.23696
}

Semantic roles & 50–950 ramp

primary
#AF7C2A
secondary
#6F90C6
accent
#81E443
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140F07
muted
#837E7A

Preview Lab

Preview with #AF7C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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