#AF8A1C#AF8A1C

#AF8A1C is a light, vivid orange. Relative luminance 0.274; OKLCH L 65.1% C 0.125 H 88.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AF8A1C
RGBrgb(175, 138, 28)
HSLhsl(45, 72%, 40%)
HSVhsv(45, 84%, 69%)
CMYKcmyk(0%, 21.1%, 84%, 31.4%)
CIE-LABlab(59.32, 3.94, 58.43)
CIE-LCHlch(59.32, 58.56, 86.14°)
OKLaboklab(65.08% 0.004 0.1252)
OKLCHoklch(65.08% 0.125 88.2)
XYZxyz(26.9790, 27.3766, 4.9616)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8A1C #1C41AF
analogous
#AF411C #AF8A1C #8BAF1C
triadic
#AF8A1C #1CAF8A #8A1CAF
tetradic
#AF8A1C #1CAF41 #1C41AF #AF1C8B
square
#AF8A1C #1CAF41 #1C41AF #AF1C8B
split-complementary
#AF8A1C #1C8BAF #411CAF
monochromatic
#45370B #7A6014 #AF8A1C #DDB02B #E6C460

Accessibility & contrast

On white

3.24
#AF8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#AF8A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8A1C
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8A1C#FFFFFF#000000##000000
##AF8A1C1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#A49323
Tritanopia (blue-blind)
#BE7D76
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af8a1c;
/* rgb */ color: rgb(175, 138, 28);
/* oklch */ color: oklch(65.1% 0.125 88.2);
Tailwind
colors: {
  custom: {
    50: '#ccab64',
    500: '#af8a1c',
    950: '#000000',
  },
}
SCSS
$custom: #af8a1c;
$custom-light: #ccab64;
$custom-dark: #000000;
JSON
{
  "hex": "#af8a1c",
  "rgb": {
    "r": 175,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 44.898,
    "s": 72.414,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65081,
    "c": 0.12524,
    "h": 88.2
  },
  "luminance": 0.27375
}

Semantic roles & 50–950 ramp

primary
#AF8A1C
secondary
#5D78CA
accent
#67EF39
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #AF8A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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