#AF7E2A#AF7E2A

#AF7E2A is a light, moderate orange. Relative luminance 0.242; OKLCH L 62.7% C 0.115 H 76.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AF7E2A
RGBrgb(175, 126, 42)
HSLhsl(38, 61%, 43%)
HSVhsv(38, 76%, 69%)
CMYKcmyk(0%, 28%, 76%, 31.4%)
CIE-LABlab(56.29, 11.13, 50.64)
CIE-LCHlch(56.29, 51.85, 77.61°)
OKLaboklab(62.73% 0.0262 0.1115)
OKLCHoklch(62.73% 0.115 76.8)
XYZxyz(25.5597, 24.2049, 5.5159)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7E2A #2A5BAF
analogous
#AF3C2A #AF7E2A #9DAF2A
triadic
#AF7E2A #2AAF7E #7E2AAF
tetradic
#AF7E2A #2AAF3C #2A5BAF #AF2A9D
square
#AF7E2A #2AAF3C #2A5BAF #AF2A9D
split-complementary
#AF7E2A #2A9DAF #3C2AAF
monochromatic
#4C3712 #7E5A1E #AF7E2A #D29E44 #DEB775

Accessibility & contrast

On white

3.60
#AF7E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#AF7E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7E2A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7E2A#FFFFFF#000000##000000
##AF7E2A1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801E
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#BF716D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af7e2a;
/* rgb */ color: rgb(175, 126, 42);
/* oklch */ color: oklch(62.7% 0.115 76.8);
Tailwind
colors: {
  custom: {
    50: '#cca369',
    500: '#af7e2a',
    950: '#000000',
  },
}
SCSS
$custom: #af7e2a;
$custom-light: #cca369;
$custom-dark: #000000;
JSON
{
  "hex": "#af7e2a",
  "rgb": {
    "r": 175,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 37.895,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6273,
    "c": 0.11457,
    "h": 76.8
  },
  "luminance": 0.24203
}

Semantic roles & 50–950 ramp

primary
#AF7E2A
secondary
#6F8FC6
accent
#7FE443
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF7E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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