#AF7840#AF7840

#AF7840 is a mid, moderate orange. Relative luminance 0.229; OKLCH L 61.8% C 0.100 H 64.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AF7840
RGBrgb(175, 120, 64)
HSLhsl(30, 46%, 47%)
HSVhsv(30, 63%, 69%)
CMYKcmyk(0%, 31.4%, 63.4%, 31.4%)
CIE-LABlab(54.99, 15.74, 38.84)
CIE-LCHlch(54.99, 41.91, 67.93°)
OKLaboklab(61.78% 0.0429 0.0902)
OKLCHoklch(61.78% 0.1 64.6)
XYZxyz(25.3227, 22.9192, 7.9397)
Luminance0.2292 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7840 #4077AF
analogous
#AF4040 #AF7840 #AFAF40
triadic
#AF7840 #40AF78 #7840AF
tetradic
#AF7840 #40AF40 #4077AF #AF40AF
square
#AF7840 #40AF40 #4077AF #AF40AF
split-complementary
#AF7840 #40AFAF #4040AF
monochromatic
#553B1F #825930 #AF7840 #C79765 #D7B592

Accessibility & contrast

On white

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

On black

5.58
#AF7840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7840
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7840#FFFFFF#000000##000000
##AF78401.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C3B
Deuteranopia (green-blind)
#978941
Tritanopia (blue-blind)
#BE6C6B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af7840;
/* rgb */ color: rgb(175, 120, 64);
/* oklch */ color: oklch(61.8% 0.100 64.6);
Tailwind
colors: {
  custom: {
    50: '#cb9f77',
    500: '#af7840',
    950: '#000000',
  },
}
SCSS
$custom: #af7840;
$custom-light: #cb9f77;
$custom-dark: #000000;
JSON
{
  "hex": "#af7840",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 64
  },
  "hsl": {
    "h": 30.27,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.61779,
    "c": 0.09994,
    "h": 64.6
  },
  "luminance": 0.22917
}

Semantic roles & 50–950 ramp

primary
#AF7840
secondary
#88A5C3
accent
#93D652
background
#FCF9F7
surface
#F9F2ED
border
#D2CCC8
text
#140E09
muted
#827E7B

Preview Lab

Preview with #AF7840

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

Preview Lab → · Contrast checker → · Palette generator →

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