#AF8E2F#AF8E2F

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

Color values

HEX#AF8E2F
RGBrgb(175, 142, 47)
HSLhsl(45, 58%, 44%)
HSVhsv(45, 73%, 69%)
CMYKcmyk(0%, 18.9%, 73.1%, 31.4%)
CIE-LABlab(60.49, 2.48, 52.70)
CIE-LCHlch(60.49, 52.76, 87.30°)
OKLaboklab(66.03% 0.0018 0.117)
OKLCHoklch(66.03% 0.117 89.1)
XYZxyz(27.8669, 28.6670, 6.7543)
Luminance0.2867 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8E2F #2F50AF
analogous
#AF4E2F #AF8E2F #90AF2F
triadic
#AF8E2F #2FAF8E #8E2FAF
tetradic
#AF8E2F #2FAF4E #2F50AF #AF2F90
square
#AF8E2F #2FAF4E #2F50AF #AF2F90
split-complementary
#AF8E2F #2F90AF #4E2FAF
monochromatic
#4F4015 #7F6722 #AF8E2F #CFAD4C #DCC37C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF8E2F#FFFFFF#000000##000000
##AF8E2F1.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)
#9E8D21
Deuteranopia (green-blind)
#A69634
Tritanopia (blue-blind)
#BE827B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af8e2f;
/* rgb */ color: rgb(175, 142, 47);
/* oklch */ color: oklch(66.0% 0.117 89.1);
Tailwind
colors: {
  custom: {
    50: '#cbae6e',
    500: '#af8e2f',
    950: '#000000',
  },
}
SCSS
$custom: #af8e2f;
$custom-light: #cbae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#af8e2f",
  "rgb": {
    "r": 175,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 44.531,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66033,
    "c": 0.11696,
    "h": 89.1
  },
  "luminance": 0.28665
}

Semantic roles & 50–950 ramp

primary
#AF8E2F
secondary
#758AC4
accent
#6FE147
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF8E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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