#AF7238#AF7238

#AF7238 is a mid, moderate orange. Relative luminance 0.214; OKLCH L 60.5% C 0.107 H 61.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AF7238
RGBrgb(175, 114, 56)
HSLhsl(29, 52%, 45%)
HSVhsv(29, 68%, 69%)
CMYKcmyk(0%, 34.9%, 68%, 31.4%)
CIE-LABlab(53.42, 18.59, 41.16)
CIE-LCHlch(53.42, 45.16, 65.70°)
OKLaboklab(60.53% 0.0502 0.0941)
OKLCHoklch(60.53% 0.107 61.9)
XYZxyz(24.4121, 21.4363, 6.5926)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7238 #3875AF
analogous
#AF3839 #AF7238 #AFAD38
triadic
#AF7238 #38AF72 #7238AF
tetradic
#AF7238 #39AF38 #3875AF #AD38AF
square
#AF7238 #39AF38 #3875AF #AD38AF
split-complementary
#AF7238 #38AFAD #3839AF
monochromatic
#52361A #815429 #AF7238 #CA915A #D9B088

Accessibility & contrast

On white

3.97
#AF7238 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#AF7238 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7238
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7238#FFFFFF#000000##000000
##AF72381.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857732
Deuteranopia (green-blind)
#938539
Tritanopia (blue-blind)
#BF6565
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af7238;
/* rgb */ color: rgb(175, 114, 56);
/* oklch */ color: oklch(60.5% 0.107 61.9);
Tailwind
colors: {
  custom: {
    50: '#cb9a71',
    500: '#af7238',
    950: '#000000',
  },
}
SCSS
$custom: #af7238;
$custom-light: #cb9a71;
$custom-dark: #000000;
JSON
{
  "hex": "#af7238",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 56
  },
  "hsl": {
    "h": 29.244,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.60534,
    "c": 0.1066,
    "h": 61.9
  },
  "luminance": 0.21434
}

Semantic roles & 50–950 ramp

primary
#AF7238
secondary
#80A2C3
accent
#96DB4D
background
#FDF9F6
surface
#FAF2EC
border
#D3CCC7
text
#140E08
muted
#837E7B

Preview Lab

Preview with #AF7238

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

Preview Lab → · Contrast checker → · Palette generator →

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