#AF8E2C#AF8E2C

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

Color values

HEX#AF8E2C
RGBrgb(175, 142, 44)
HSLhsl(45, 60%, 43%)
HSVhsv(45, 75%, 69%)
CMYKcmyk(0%, 18.9%, 74.9%, 31.4%)
CIE-LABlab(60.47, 2.34, 53.89)
CIE-LCHlch(60.47, 53.94, 87.52°)
OKLaboklab(66.01% 0.0011 0.1189)
OKLCHoklch(66.01% 0.119 89.5)
XYZxyz(27.8084, 28.6436, 6.4465)
Luminance0.2864 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8E2C #2C4DAF
analogous
#AF4C2C #AF8E2C #8FAF2C
triadic
#AF8E2C #2CAF8E #8E2CAF
tetradic
#AF8E2C #2CAF4C #2C4DAF #AF2C8F
square
#AF8E2C #2CAF4C #2C4DAF #AF2C8F
split-complementary
#AF8E2C #2C8FAF #4C2CAF
monochromatic
#4D3F13 #7E6620 #AF8E2C #D1AE47 #DDC478

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF8E2C#FFFFFF#000000##000000
##AF8E2C1.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)
#9F8C1C
Deuteranopia (green-blind)
#A79631
Tritanopia (blue-blind)
#BE827B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af8e2c;
/* rgb */ color: rgb(175, 142, 44);
/* oklch */ color: oklch(66.0% 0.119 89.5);
Tailwind
colors: {
  custom: {
    50: '#cbae6c',
    500: '#af8e2c',
    950: '#000000',
  },
}
SCSS
$custom: #af8e2c;
$custom-light: #cbae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#af8e2c",
  "rgb": {
    "r": 175,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 44.885,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6601,
    "c": 0.11887,
    "h": 89.5
  },
  "luminance": 0.28642
}

Semantic roles & 50–950 ramp

primary
#AF8E2C
secondary
#7287C5
accent
#6DE345
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF8E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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