#AF9340#AF9340

#AF9340 is a light, moderate orange. Relative luminance 0.304; OKLCH L 67.2% C 0.107 H 90.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#AF9340
RGBrgb(175, 147, 64)
HSLhsl(45, 46%, 47%)
HSVhsv(45, 63%, 69%)
CMYKcmyk(0%, 16%, 63.4%, 31.4%)
CIE-LABlab(61.96, 0.74, 46.72)
CIE-LCHlch(61.96, 46.72, 89.10°)
OKLaboklab(67.24% -0.0011 0.1072)
OKLCHoklch(67.24% 0.107 90.6)
XYZxyz(29.0397, 30.3532, 9.1787)
Luminance0.3035 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9340 #405CAF
analogous
#AF5C40 #AF9340 #94AF40
triadic
#AF9340 #40AF93 #9340AF
tetradic
#AF9340 #40AF5C #405CAF #AF4094
square
#AF9340 #40AF5C #405CAF #AF4094
split-complementary
#AF9340 #4094AF #5C40AF
monochromatic
#55481F #826D30 #AF9340 #C7AE65 #D7C692

Accessibility & contrast

On white

2.97
#AF9340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#AF9340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9340
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9340#FFFFFF#000000##000000
##AF93401.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29137
Deuteranopia (green-blind)
#A99944
Tritanopia (blue-blind)
#BD8881
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af9340;
/* rgb */ color: rgb(175, 147, 64);
/* oklch */ color: oklch(67.2% 0.107 90.6);
Tailwind
colors: {
  custom: {
    50: '#cab278',
    500: '#af9340',
    950: '#000000',
  },
}
SCSS
$custom: #af9340;
$custom-light: #cab278;
$custom-dark: #000000;
JSON
{
  "hex": "#af9340",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 64
  },
  "hsl": {
    "h": 44.865,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67239,
    "c": 0.10717,
    "h": 90.6
  },
  "luminance": 0.30352
}

Semantic roles & 50–950 ramp

primary
#AF9340
secondary
#8897C3
accent
#73D652
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141009
muted
#827F7B

Preview Lab

Preview with #AF9340

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

Preview Lab → · Contrast checker → · Palette generator →

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