#AF7F2D#AF7F2D

#AF7F2D is a light, moderate orange. Relative luminance 0.245; OKLCH L 63.0% C 0.113 H 77.0°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AF7F2D
RGBrgb(175, 127, 45)
HSLhsl(38, 59%, 43%)
HSVhsv(38, 74%, 69%)
CMYKcmyk(0%, 27.4%, 74.3%, 31.4%)
CIE-LABlab(56.57, 10.71, 49.64)
CIE-LCHlch(56.57, 50.78, 77.83°)
OKLaboklab(62.95% 0.0254 0.1101)
OKLCHoklch(62.95% 0.113 77)
XYZxyz(25.7440, 24.4842, 5.8522)
Luminance0.2448 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7F2D #2D5DAF
analogous
#AF3E2D #AF7F2D #9EAF2D
triadic
#AF7F2D #2DAF7F #7F2DAF
tetradic
#AF7F2D #2DAF3E #2D5DAF #AF2D9E
square
#AF7F2D #2DAF3E #2D5DAF #AF2D9E
split-complementary
#AF7F2D #2D9EAF #3E2DAF
monochromatic
#4E3814 #7E5C20 #AF7F2D #D09E49 #DDB87A

Accessibility & contrast

On white

3.56
#AF7F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#AF7F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7F2D
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7F2D#FFFFFF#000000##000000
##AF7F2D1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918122
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#BE726E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af7f2d;
/* rgb */ color: rgb(175, 127, 45);
/* oklch */ color: oklch(63.0% 0.113 77.0);
Tailwind
colors: {
  custom: {
    50: '#cba36b',
    500: '#af7f2d',
    950: '#000000',
  },
}
SCSS
$custom: #af7f2d;
$custom-light: #cba36b;
$custom-dark: #000000;
JSON
{
  "hex": "#af7f2d",
  "rgb": {
    "r": 175,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 37.846,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.62953,
    "c": 0.11294,
    "h": 77
  },
  "luminance": 0.24482
}

Semantic roles & 50–950 ramp

primary
#AF7F2D
secondary
#7391C5
accent
#7FE246
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF7F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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