#AF9342#AF9342

#AF9342 is a light, moderate orange. Relative luminance 0.304; OKLCH L 67.3% C 0.105 H 90.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AF9342
RGBrgb(175, 147, 66)
HSLhsl(45, 45%, 47%)
HSVhsv(45, 62%, 69%)
CMYKcmyk(0%, 16%, 62.3%, 31.4%)
CIE-LABlab(61.98, 0.87, 45.79)
CIE-LCHlch(61.98, 45.80, 88.91°)
OKLaboklab(67.26% -0.0004 0.1055)
OKLCHoklch(67.26% 0.105 90.2)
XYZxyz(29.0977, 30.3763, 9.4838)
Luminance0.3038 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9342 #425EAF
analogous
#AF5D42 #AF9342 #95AF42
triadic
#AF9342 #42AF93 #9342AF
tetradic
#AF9342 #42AF5D #425EAF #AF4295
square
#AF9342 #42AF5D #425EAF #AF4295
split-complementary
#AF9342 #4295AF #5D42AF
monochromatic
#564820 #836E31 #AF9342 #C6AE68 #D7C695

Accessibility & contrast

On white

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

On black

7.08
#AF9342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9342
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9342#FFFFFF#000000##000000
##AF93421.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af9342;
/* rgb */ color: rgb(175, 147, 66);
/* oklch */ color: oklch(67.3% 0.105 90.2);
Tailwind
colors: {
  custom: {
    50: '#cab279',
    500: '#af9342',
    950: '#000000',
  },
}
SCSS
$custom: #af9342;
$custom-light: #cab279;
$custom-dark: #000000;
JSON
{
  "hex": "#af9342",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 66
  },
  "hsl": {
    "h": 44.587,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67261,
    "c": 0.10546,
    "h": 90.2
  },
  "luminance": 0.30375
}

Semantic roles & 50–950 ramp

primary
#AF9342
secondary
#8A99C2
accent
#74D553
background
#FCFAF7
surface
#F9F5EE
border
#D2CFC9
text
#141009
muted
#827F7B

Preview Lab

Preview with #AF9342

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

Preview Lab → · Contrast checker → · Palette generator →

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