#AF9042#AF9042

#AF9042 is a light, moderate orange. Relative luminance 0.295; OKLCH L 66.6% C 0.104 H 87.6°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#AF9042
RGBrgb(175, 144, 66)
HSLhsl(43, 45%, 47%)
HSVhsv(43, 62%, 69%)
CMYKcmyk(0%, 17.7%, 62.3%, 31.4%)
CIE-LABlab(61.18, 2.52, 44.90)
CIE-LCHlch(61.18, 44.97, 86.79°)
OKLaboklab(66.63% 0.0044 0.1036)
OKLCHoklch(66.63% 0.104 87.6)
XYZxyz(28.6372, 29.4555, 9.3303)
Luminance0.2945 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9042 #4261AF
analogous
#AF5A42 #AF9042 #97AF42
triadic
#AF9042 #42AF90 #9042AF
tetradic
#AF9042 #42AF5A #4261AF #AF4297
square
#AF9042 #42AF5A #4261AF #AF4297
split-complementary
#AF9042 #4297AF #5A42AF
monochromatic
#564720 #836B31 #AF9042 #C6AB68 #D7C495

Accessibility & contrast

On white

3.05
#AF9042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#AF9042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9042
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9042#FFFFFF#000000##000000
##AF90421.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8F3A
Deuteranopia (green-blind)
#A79745
Tritanopia (blue-blind)
#BD857F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af9042;
/* rgb */ color: rgb(175, 144, 66);
/* oklch */ color: oklch(66.6% 0.104 87.6);
Tailwind
colors: {
  custom: {
    50: '#cab079',
    500: '#af9042',
    950: '#000000',
  },
}
SCSS
$custom: #af9042;
$custom-light: #cab079;
$custom-dark: #000000;
JSON
{
  "hex": "#af9042",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 66
  },
  "hsl": {
    "h": 42.936,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.66634,
    "c": 0.10364,
    "h": 87.6
  },
  "luminance": 0.29454
}

Semantic roles & 50–950 ramp

primary
#AF9042
secondary
#8A9AC2
accent
#78D553
background
#FCFAF7
surface
#F9F4EE
border
#D2CEC9
text
#141009
muted
#827F7B

Preview Lab

Preview with #AF9042

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

Preview Lab → · Contrast checker → · Palette generator →

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