#AF802F#AF802F

#AF802F is a light, moderate orange. Relative luminance 0.248; OKLCH L 63.2% C 0.112 H 77.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AF802F
RGBrgb(175, 128, 47)
HSLhsl(38, 58%, 44%)
HSVhsv(38, 73%, 69%)
CMYKcmyk(0%, 26.9%, 73.1%, 31.4%)
CIE-LABlab(56.84, 10.25, 49.05)
CIE-LCHlch(56.84, 50.11, 78.20°)
OKLaboklab(63.17% 0.0243 0.1092)
OKLCHoklch(63.17% 0.112 77.4)
XYZxyz(25.9132, 24.7596, 6.1030)
Luminance0.2476 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF802F #2F5EAF
analogous
#AF402F #AF802F #9EAF2F
triadic
#AF802F #2FAF80 #802FAF
tetradic
#AF802F #2FAF40 #2F5EAF #AF2F9E
square
#AF802F #2FAF40 #2F5EAF #AF2F9E
split-complementary
#AF802F #2F9EAF #402FAF
monochromatic
#4F3915 #7F5D22 #AF802F #CF9F4C #DCB97C

Accessibility & contrast

On white

3.53
#AF802F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#AF802F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF802F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF802F#FFFFFF#000000##000000
##AF802F1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928224
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#BE736F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af802f;
/* rgb */ color: rgb(175, 128, 47);
/* oklch */ color: oklch(63.2% 0.112 77.4);
Tailwind
colors: {
  custom: {
    50: '#cba46c',
    500: '#af802f',
    950: '#000000',
  },
}
SCSS
$custom: #af802f;
$custom-light: #cba46c;
$custom-dark: #000000;
JSON
{
  "hex": "#af802f",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 37.969,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.6317,
    "c": 0.11187,
    "h": 77.4
  },
  "luminance": 0.24758
}

Semantic roles & 50–950 ramp

primary
#AF802F
secondary
#7592C4
accent
#7FE147
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF802F

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

Preview Lab → · Contrast checker → · Palette generator →

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