#AF7F27#AF7F27

#AF7F27 is a light, moderate orange. Relative luminance 0.244; OKLCH L 62.9% C 0.116 H 78.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AF7F27
RGBrgb(175, 127, 39)
HSLhsl(39, 64%, 42%)
HSVhsv(39, 78%, 69%)
CMYKcmyk(0%, 27.4%, 77.7%, 31.4%)
CIE-LABlab(56.53, 10.44, 52.08)
CIE-LCHlch(56.53, 53.12, 78.67°)
OKLaboklab(62.91% 0.0239 0.114)
OKLCHoklch(62.91% 0.116 78.2)
XYZxyz(25.6366, 24.4412, 5.2865)
Luminance0.2444 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7F27 #2757AF
analogous
#AF3B27 #AF7F27 #9BAF27
triadic
#AF7F27 #27AF7F #7F27AF
tetradic
#AF7F27 #27AF3B #2757AF #AF279B
square
#AF7F27 #27AF3B #2757AF #AF279B
split-complementary
#AF7F27 #279BAF #3B27AF
monochromatic
#4B3611 #7D5B1C #AF7F27 #D4A03F #DFB871

Accessibility & contrast

On white

3.57
#AF7F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#AF7F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7F27
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7F27#FFFFFF#000000##000000
##AF7F271.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918119
Deuteranopia (green-blind)
#9D8C2B
Tritanopia (blue-blind)
#BF726E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af7f27;
/* rgb */ color: rgb(175, 127, 39);
/* oklch */ color: oklch(62.9% 0.116 78.2);
Tailwind
colors: {
  custom: {
    50: '#cca368',
    500: '#af7f27',
    950: '#000000',
  },
}
SCSS
$custom: #af7f27;
$custom-light: #cca368;
$custom-dark: #000000;
JSON
{
  "hex": "#af7f27",
  "rgb": {
    "r": 175,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 38.824,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.62906,
    "c": 0.11642,
    "h": 78.2
  },
  "luminance": 0.24439
}

Semantic roles & 50–950 ramp

primary
#AF7F27
secondary
#6B8CC6
accent
#7CE741
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F06
muted
#837F7A

Preview Lab

Preview with #AF7F27

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

Preview Lab → · Contrast checker → · Palette generator →

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