#AF7E2C#AF7E2C

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

Color values

HEX#AF7E2C
RGBrgb(175, 126, 44)
HSLhsl(38, 60%, 43%)
HSVhsv(38, 75%, 69%)
CMYKcmyk(0%, 28%, 74.9%, 31.4%)
CIE-LABlab(56.31, 11.22, 49.81)
CIE-LCHlch(56.31, 51.06, 77.31°)
OKLaboklab(62.75% 0.0268 0.1102)
OKLCHoklch(62.75% 0.113 76.4)
XYZxyz(25.5964, 24.2196, 5.7091)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7E2C #2C5DAF
analogous
#AF3C2C #AF7E2C #9EAF2C
triadic
#AF7E2C #2CAF7E #7E2CAF
tetradic
#AF7E2C #2CAF3C #2C5DAF #AF2C9E
square
#AF7E2C #2CAF3C #2C5DAF #AF2C9E
split-complementary
#AF7E2C #2C9EAF #3C2CAF
monochromatic
#4D3813 #7E5B20 #AF7E2C #D19D47 #DDB778

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF7E2C#FFFFFF#000000##000000
##AF7E2C1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908020
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#BE716D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af7e2c;
/* rgb */ color: rgb(175, 126, 44);
/* oklch */ color: oklch(62.7% 0.113 76.4);
Tailwind
colors: {
  custom: {
    50: '#cba36a',
    500: '#af7e2c',
    950: '#000000',
  },
}
SCSS
$custom: #af7e2c;
$custom-light: #cba36a;
$custom-dark: #000000;
JSON
{
  "hex": "#af7e2c",
  "rgb": {
    "r": 175,
    "g": 126,
    "b": 44
  },
  "hsl": {
    "h": 37.557,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.62746,
    "c": 0.1134,
    "h": 76.4
  },
  "luminance": 0.24218
}

Semantic roles & 50–950 ramp

primary
#AF7E2C
secondary
#7291C5
accent
#80E345
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF7E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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