#AF7826#AF7826

#AF7826 is a mid, moderate orange. Relative luminance 0.227; OKLCH L 61.5% C 0.116 H 72.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AF7826
RGBrgb(175, 120, 38)
HSLhsl(36, 64%, 42%)
HSVhsv(36, 78%, 69%)
CMYKcmyk(0%, 31.4%, 78.3%, 31.4%)
CIE-LABlab(54.75, 14.32, 50.80)
CIE-LCHlch(54.75, 52.78, 74.26°)
OKLaboklab(61.52% 0.035 0.111)
OKLCHoklch(61.52% 0.116 72.5)
XYZxyz(24.7474, 22.6890, 4.9094)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7826 #265DAF
analogous
#AF3326 #AF7826 #A2AF26
triadic
#AF7826 #26AF78 #7826AF
tetradic
#AF7826 #26AF33 #265DAF #AF26A2
square
#AF7826 #26AF33 #265DAF #AF26A2
split-complementary
#AF7826 #26A2AF #3326AF
monochromatic
#4A3310 #7D561B #AF7826 #D5983D #E0B370

Accessibility & contrast

On white

3.79
#AF7826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#AF7826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7826
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7826#FFFFFF#000000##000000
##AF78261.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B19
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#BF6A68
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af7826;
/* rgb */ color: rgb(175, 120, 38);
/* oklch */ color: oklch(61.5% 0.116 72.5);
Tailwind
colors: {
  custom: {
    50: '#cc9e67',
    500: '#af7826',
    950: '#000000',
  },
}
SCSS
$custom: #af7826;
$custom-light: #cc9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#af7826",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 38
  },
  "hsl": {
    "h": 35.912,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.61517,
    "c": 0.11637,
    "h": 72.5
  },
  "luminance": 0.22687
}

Semantic roles & 50–950 ramp

primary
#AF7826
secondary
#6A8FC7
accent
#83E740
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A

Preview Lab

Preview with #AF7826

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

Preview Lab → · Contrast checker → · Palette generator →

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