#AF8E2D#AF8E2D

#AF8E2D is a light, moderate orange. Relative luminance 0.286; OKLCH L 66.0% C 0.118 H 89.4°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#AF8E2D
RGBrgb(175, 142, 45)
HSLhsl(45, 59%, 43%)
HSVhsv(45, 74%, 69%)
CMYKcmyk(0%, 18.9%, 74.3%, 31.4%)
CIE-LABlab(60.47, 2.38, 53.50)
CIE-LCHlch(60.47, 53.55, 87.45°)
OKLaboklab(66.02% 0.0013 0.1183)
OKLCHoklch(66.02% 0.118 89.4)
XYZxyz(27.8275, 28.6512, 6.5467)
Luminance0.2865 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8E2D #2D4EAF
analogous
#AF4D2D #AF8E2D #8FAF2D
triadic
#AF8E2D #2DAF8E #8E2DAF
tetradic
#AF8E2D #2DAF4D #2D4EAF #AF2D8F
square
#AF8E2D #2DAF4D #2D4EAF #AF2D8F
split-complementary
#AF8E2D #2D8FAF #4D2DAF
monochromatic
#4E3F14 #7E6620 #AF8E2D #D0AE49 #DDC47A

Accessibility & contrast

On white

3.12
#AF8E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#AF8E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8E2D
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8E2D#FFFFFF#000000##000000
##AF8E2D1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1E
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#BE827B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af8e2d;
/* rgb */ color: rgb(175, 142, 45);
/* oklch */ color: oklch(66.0% 0.118 89.4);
Tailwind
colors: {
  custom: {
    50: '#cbae6d',
    500: '#af8e2d',
    950: '#000000',
  },
}
SCSS
$custom: #af8e2d;
$custom-light: #cbae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#af8e2d",
  "rgb": {
    "r": 175,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 44.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66018,
    "c": 0.11826,
    "h": 89.4
  },
  "luminance": 0.28649
}

Semantic roles & 50–950 ramp

primary
#AF8E2D
secondary
#7388C5
accent
#6DE246
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF8E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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