#AF7D28#AF7D28

#AF7D28 is a light, moderate orange. Relative luminance 0.239; OKLCH L 62.5% C 0.116 H 76.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AF7D28
RGBrgb(175, 125, 40)
HSLhsl(38, 63%, 42%)
HSVhsv(38, 77%, 69%)
CMYKcmyk(0%, 28.6%, 77.1%, 31.4%)
CIE-LABlab(56.02, 11.60, 51.20)
CIE-LCHlch(56.02, 52.50, 77.24°)
OKLaboklab(62.52% 0.0274 0.1123)
OKLCHoklch(62.52% 0.116 76.3)
XYZxyz(25.3976, 23.9365, 5.2897)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7D28 #285AAF
analogous
#AF3A28 #AF7D28 #9EAF28
triadic
#AF7D28 #28AF7D #7D28AF
tetradic
#AF7D28 #28AF3A #285AAF #AF289E
square
#AF7D28 #28AF3A #285AAF #AF289E
split-complementary
#AF7D28 #289EAF #3A28AF
monochromatic
#4B3611 #7D591D #AF7D28 #D49D41 #DFB773

Accessibility & contrast

On white

3.63
#AF7D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#AF7D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7D28
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7D28#FFFFFF#000000##000000
##AF7D281.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1B
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#BF6F6C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af7d28;
/* rgb */ color: rgb(175, 125, 40);
/* oklch */ color: oklch(62.5% 0.116 76.3);
Tailwind
colors: {
  custom: {
    50: '#cca268',
    500: '#af7d28',
    950: '#000000',
  },
}
SCSS
$custom: #af7d28;
$custom-light: #cca268;
$custom-dark: #000000;
JSON
{
  "hex": "#af7d28",
  "rgb": {
    "r": 175,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 37.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.62515,
    "c": 0.11558,
    "h": 76.3
  },
  "luminance": 0.23934
}

Semantic roles & 50–950 ramp

primary
#AF7D28
secondary
#6D8EC6
accent
#7FE642
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140F06
muted
#837E7A

Preview Lab

Preview with #AF7D28

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

Preview Lab → · Contrast checker → · Palette generator →

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