#AF8238#AF8238

#AF8238 is a light, moderate orange. Relative luminance 0.254; OKLCH L 63.7% C 0.106 H 77.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AF8238
RGBrgb(175, 130, 56)
HSLhsl(37, 52%, 45%)
HSVhsv(37, 68%, 69%)
CMYKcmyk(0%, 25.7%, 68%, 31.4%)
CIE-LABlab(57.43, 9.62, 45.55)
CIE-LCHlch(57.43, 46.56, 78.07°)
OKLaboklab(63.66% 0.0237 0.1034)
OKLCHoklch(63.66% 0.106 77.1)
XYZxyz(26.3773, 25.3667, 7.2476)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8238 #3865AF
analogous
#AF4738 #AF8238 #A0AF38
triadic
#AF8238 #38AF82 #8238AF
tetradic
#AF8238 #38AF47 #3865AF #AF38A0
square
#AF8238 #38AF47 #3865AF #AF38A0
split-complementary
#AF8238 #38A0AF #4738AF
monochromatic
#523D1A #816029 #AF8238 #CAA05A #D9BB88

Accessibility & contrast

On white

3.46
#AF8238 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#AF8238 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8238
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8238#FFFFFF#000000##000000
##AF82381.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938330
Deuteranopia (green-blind)
#9E8E3A
Tritanopia (blue-blind)
#BE7672
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af8238;
/* rgb */ color: rgb(175, 130, 56);
/* oklch */ color: oklch(63.7% 0.106 77.1);
Tailwind
colors: {
  custom: {
    50: '#cba672',
    500: '#af8238',
    950: '#000000',
  },
}
SCSS
$custom: #af8238;
$custom-light: #cba672;
$custom-dark: #000000;
JSON
{
  "hex": "#af8238",
  "rgb": {
    "r": 175,
    "g": 130,
    "b": 56
  },
  "hsl": {
    "h": 37.311,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.63657,
    "c": 0.10612,
    "h": 77.1
  },
  "luminance": 0.25365
}

Semantic roles & 50–950 ramp

primary
#AF8238
secondary
#8099C3
accent
#83DB4D
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#140F08
muted
#827F7B

Preview Lab

Preview with #AF8238

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

Preview Lab → · Contrast checker → · Palette generator →

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