#AF7A23#AF7A23

#AF7A23 is a mid, moderate orange. Relative luminance 0.232; OKLCH L 61.9% C 0.118 H 74.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AF7A23
RGBrgb(175, 122, 35)
HSLhsl(37, 67%, 41%)
HSVhsv(37, 80%, 69%)
CMYKcmyk(0%, 30.3%, 80%, 31.4%)
CIE-LABlab(55.23, 13.08, 52.43)
CIE-LCHlch(55.23, 54.04, 75.99°)
OKLaboklab(61.89% 0.0311 0.1138)
OKLCHoklch(61.89% 0.118 74.7)
XYZxyz(24.9440, 23.1565, 4.7457)
Luminance0.2315 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7A23 #2358AF
analogous
#AF3423 #AF7A23 #9EAF23
triadic
#AF7A23 #23AF7A #7A23AF
tetradic
#AF7A23 #23AF34 #2358AF #AF239E
square
#AF7A23 #23AF34 #2358AF #AF239E
split-complementary
#AF7A23 #239EAF #3423AF
monochromatic
#49330F #7C5619 #AF7A23 #D79B38 #E1B56B

Accessibility & contrast

On white

3.73
#AF7A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#AF7A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7A23
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7A23#FFFFFF#000000##000000
##AF7A231.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D13
Deuteranopia (green-blind)
#9A8926
Tritanopia (blue-blind)
#BF6C69
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af7a23;
/* rgb */ color: rgb(175, 122, 35);
/* oklch */ color: oklch(61.9% 0.118 74.7);
Tailwind
colors: {
  custom: {
    50: '#cca065',
    500: '#af7a23',
    950: '#000000',
  },
}
SCSS
$custom: #af7a23;
$custom-light: #cca065;
$custom-dark: #000000;
JSON
{
  "hex": "#af7a23",
  "rgb": {
    "r": 175,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 37.286,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.61887,
    "c": 0.11793,
    "h": 74.7
  },
  "luminance": 0.23154
}

Semantic roles & 50–950 ramp

primary
#AF7A23
secondary
#668BC7
accent
#7FEA3E
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AF7A23

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

Preview Lab → · Contrast checker → · Palette generator →

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