#AF7928#AF7928

#AF7928 is a mid, moderate orange. Relative luminance 0.229; OKLCH L 61.7% C 0.115 H 72.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AF7928
RGBrgb(175, 121, 40)
HSLhsl(36, 63%, 42%)
HSVhsv(36, 77%, 69%)
CMYKcmyk(0%, 30.9%, 77.1%, 31.4%)
CIE-LABlab(55.01, 13.84, 50.23)
CIE-LCHlch(55.01, 52.10, 74.60°)
OKLaboklab(61.73% 0.0339 0.1102)
OKLCHoklch(61.73% 0.115 72.9)
XYZxyz(24.9014, 22.9441, 5.1242)
Luminance0.2294 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7928 #285EAF
analogous
#AF3528 #AF7928 #A2AF28
triadic
#AF7928 #28AF79 #7928AF
tetradic
#AF7928 #28AF35 #285EAF #AF28A2
square
#AF7928 #28AF35 #285EAF #AF28A2
split-complementary
#AF7928 #28A2AF #3528AF
monochromatic
#4B3411 #7D571D #AF7928 #D49941 #DFB473

Accessibility & contrast

On white

3.76
#AF7928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#AF7928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7928
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7928#FFFFFF#000000##000000
##AF79281.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1C
Deuteranopia (green-blind)
#99892B
Tritanopia (blue-blind)
#BF6B69
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af7928;
/* rgb */ color: rgb(175, 121, 40);
/* oklch */ color: oklch(61.7% 0.115 72.9);
Tailwind
colors: {
  custom: {
    50: '#cc9f68',
    500: '#af7928',
    950: '#000000',
  },
}
SCSS
$custom: #af7928;
$custom-light: #cc9f68;
$custom-dark: #000000;
JSON
{
  "hex": "#af7928",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 36,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.61727,
    "c": 0.1153,
    "h": 72.9
  },
  "luminance": 0.22942
}

Semantic roles & 50–950 ramp

primary
#AF7928
secondary
#6D90C6
accent
#84E642
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AF7928

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

Preview Lab → · Contrast checker → · Palette generator →

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