#AF8838#AF8838

#AF8838 is a light, moderate orange. Relative luminance 0.270; OKLCH L 64.9% C 0.108 H 82.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AF8838
RGBrgb(175, 136, 56)
HSLhsl(40, 52%, 45%)
HSVhsv(40, 68%, 69%)
CMYKcmyk(0%, 22.3%, 68%, 31.4%)
CIE-LABlab(58.98, 6.28, 47.22)
CIE-LCHlch(58.98, 47.64, 82.42°)
OKLaboklab(64.87% 0.014 0.107)
OKLCHoklch(64.87% 0.108 82.6)
XYZxyz(27.1987, 27.0097, 7.5214)
Luminance0.2701 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8838 #385FAF
analogous
#AF4C38 #AF8838 #9AAF38
triadic
#AF8838 #38AF88 #8838AF
tetradic
#AF8838 #38AF4C #385FAF #AF389A
square
#AF8838 #38AF4C #385FAF #AF389A
split-complementary
#AF8838 #389AAF #4C38AF
monochromatic
#52401A #816429 #AF8838 #CAA55A #D9BF88

Accessibility & contrast

On white

3.28
#AF8838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#AF8838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8838
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8838#FFFFFF#000000##000000
##AF88381.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99882F
Deuteranopia (green-blind)
#A2923B
Tritanopia (blue-blind)
#BE7C77
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af8838;
/* rgb */ color: rgb(175, 136, 56);
/* oklch */ color: oklch(64.9% 0.108 82.6);
Tailwind
colors: {
  custom: {
    50: '#cbaa72',
    500: '#af8838',
    950: '#000000',
  },
}
SCSS
$custom: #af8838;
$custom-light: #cbaa72;
$custom-dark: #000000;
JSON
{
  "hex": "#af8838",
  "rgb": {
    "r": 175,
    "g": 136,
    "b": 56
  },
  "hsl": {
    "h": 40.336,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.64874,
    "c": 0.10789,
    "h": 82.6
  },
  "luminance": 0.27008
}

Semantic roles & 50–950 ramp

primary
#AF8838
secondary
#8096C3
accent
#7BDB4D
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF8838

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

Preview Lab → · Contrast checker → · Palette generator →

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