#AF7E2F#AF7E2F

#AF7E2F is a light, moderate orange. Relative luminance 0.242; OKLCH L 62.8% C 0.112 H 75.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AF7E2F
RGBrgb(175, 126, 47)
HSLhsl(37, 58%, 44%)
HSVhsv(37, 73%, 69%)
CMYKcmyk(0%, 28%, 73.1%, 31.4%)
CIE-LABlab(56.33, 11.36, 48.53)
CIE-LCHlch(56.33, 49.84, 76.82°)
OKLaboklab(62.77% 0.0276 0.1081)
OKLCHoklch(62.77% 0.112 75.7)
XYZxyz(25.6549, 24.2430, 6.0169)
Luminance0.2424 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7E2F #2F60AF
analogous
#AF3E2F #AF7E2F #A0AF2F
triadic
#AF7E2F #2FAF7E #7E2FAF
tetradic
#AF7E2F #2FAF3E #2F60AF #AF2FA0
square
#AF7E2F #2FAF3E #2F60AF #AF2FA0
split-complementary
#AF7E2F #2FA0AF #3E2FAF
monochromatic
#4F3915 #7F5B22 #AF7E2F #CF9D4C #DCB77C

Accessibility & contrast

On white

3.59
#AF7E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#AF7E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7E2F
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7E2F#FFFFFF#000000##000000
##AF7E2F1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908025
Deuteranopia (green-blind)
#9C8C32
Tritanopia (blue-blind)
#BE716E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af7e2f;
/* rgb */ color: rgb(175, 126, 47);
/* oklch */ color: oklch(62.8% 0.112 75.7);
Tailwind
colors: {
  custom: {
    50: '#cba36c',
    500: '#af7e2f',
    950: '#000000',
  },
}
SCSS
$custom: #af7e2f;
$custom-light: #cba36c;
$custom-dark: #000000;
JSON
{
  "hex": "#af7e2f",
  "rgb": {
    "r": 175,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 37.031,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.62771,
    "c": 0.11155,
    "h": 75.7
  },
  "luminance": 0.24241
}

Semantic roles & 50–950 ramp

primary
#AF7E2F
secondary
#7594C4
accent
#82E147
background
#FDFAF6
surface
#FAF3EC
border
#D3CDC7
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF7E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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