#AF7B2F#AF7B2F

#AF7B2F is a light, moderate orange. Relative luminance 0.235; OKLCH L 62.2% C 0.111 H 73.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AF7B2F
RGBrgb(175, 123, 47)
HSLhsl(36, 58%, 44%)
HSVhsv(36, 73%, 69%)
CMYKcmyk(0%, 29.7%, 73.1%, 31.4%)
CIE-LABlab(55.57, 13.04, 47.75)
CIE-LCHlch(55.57, 49.50, 74.72°)
OKLaboklab(62.18% 0.0325 0.1065)
OKLCHoklch(62.18% 0.111 73)
XYZxyz(25.2770, 23.4872, 5.8910)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7B2F #2F63AF
analogous
#AF3B2F #AF7B2F #A3AF2F
triadic
#AF7B2F #2FAF7B #7B2FAF
tetradic
#AF7B2F #2FAF3B #2F63AF #AF2FA3
square
#AF7B2F #2FAF3B #2F63AF #AF2FA3
split-complementary
#AF7B2F #2FA3AF #3B2FAF
monochromatic
#4F3715 #7F5922 #AF7B2F #CF9A4C #DCB57C

Accessibility & contrast

On white

3.69
#AF7B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#AF7B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7B2F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7B2F#FFFFFF#000000##000000
##AF7B2F1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E25
Deuteranopia (green-blind)
#9A8A31
Tritanopia (blue-blind)
#BE6E6B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af7b2f;
/* rgb */ color: rgb(175, 123, 47);
/* oklch */ color: oklch(62.2% 0.111 73.0);
Tailwind
colors: {
  custom: {
    50: '#cba16c',
    500: '#af7b2f',
    950: '#000000',
  },
}
SCSS
$custom: #af7b2f;
$custom-light: #cba16c;
$custom-dark: #000000;
JSON
{
  "hex": "#af7b2f",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 35.625,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.62178,
    "c": 0.1113,
    "h": 73
  },
  "luminance": 0.23485
}

Semantic roles & 50–950 ramp

primary
#AF7B2F
secondary
#7595C4
accent
#85E147
background
#FDF9F6
surface
#FAF2EC
border
#D3CCC7
text
#140E07
muted
#837E7A

Preview Lab

Preview with #AF7B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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