#AF802B#AF802B

#AF802B is a light, moderate orange. Relative luminance 0.247; OKLCH L 63.1% C 0.114 H 78.3°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AF802B
RGBrgb(175, 128, 43)
HSLhsl(39, 61%, 43%)
HSVhsv(39, 75%, 69%)
CMYKcmyk(0%, 26.9%, 75.4%, 31.4%)
CIE-LABlab(56.81, 10.05, 50.73)
CIE-LCHlch(56.81, 51.72, 78.79°)
OKLaboklab(63.14% 0.0232 0.1119)
OKLCHoklch(63.14% 0.114 78.3)
XYZxyz(25.8362, 24.7288, 5.6974)
Luminance0.2473 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF802B #2B5AAF
analogous
#AF3E2B #AF802B #9CAF2B
triadic
#AF802B #2BAF80 #802BAF
tetradic
#AF802B #2BAF3E #2B5AAF #AF2B9C
square
#AF802B #2BAF3E #2B5AAF #AF2B9C
split-complementary
#AF802B #2B9CAF #3E2BAF
monochromatic
#4D3813 #7E5C1F #AF802B #D1A046 #DEB977

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF802B#FFFFFF#000000##000000
##AF802B1.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)
#92811F
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#BE736F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af802b;
/* rgb */ color: rgb(175, 128, 43);
/* oklch */ color: oklch(63.1% 0.114 78.3);
Tailwind
colors: {
  custom: {
    50: '#cba46a',
    500: '#af802b',
    950: '#000000',
  },
}
SCSS
$custom: #af802b;
$custom-light: #cba46a;
$custom-dark: #000000;
JSON
{
  "hex": "#af802b",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 38.636,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.63137,
    "c": 0.11433,
    "h": 78.3
  },
  "luminance": 0.24727
}

Semantic roles & 50–950 ramp

primary
#AF802B
secondary
#708FC5
accent
#7DE444
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF802B

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

Preview Lab → · Contrast checker → · Palette generator →

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