#AF9142#AF9142

#AF9142 is a light, moderate orange. Relative luminance 0.298; OKLCH L 66.8% C 0.104 H 88.5°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#AF9142
RGBrgb(175, 145, 66)
HSLhsl(43, 45%, 47%)
HSVhsv(43, 62%, 69%)
CMYKcmyk(0%, 17.1%, 62.3%, 31.4%)
CIE-LABlab(61.45, 1.97, 45.19)
CIE-LCHlch(61.45, 45.24, 87.50°)
OKLaboklab(66.84% 0.0028 0.1042)
OKLCHoklch(66.84% 0.104 88.5)
XYZxyz(28.7894, 29.7597, 9.3810)
Luminance0.2976 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9142 #4260AF
analogous
#AF5A42 #AF9142 #97AF42
triadic
#AF9142 #42AF91 #9142AF
tetradic
#AF9142 #42AF5A #4260AF #AF4297
square
#AF9142 #42AF5A #4260AF #AF4297
split-complementary
#AF9142 #4297AF #5A42AF
monochromatic
#564720 #836C31 #AF9142 #C6AC68 #D7C595

Accessibility & contrast

On white

3.02
#AF9142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#AF9142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9142
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9142#FFFFFF#000000##000000
##AF91421.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0903A
Deuteranopia (green-blind)
#A79845
Tritanopia (blue-blind)
#BD8680
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af9142;
/* rgb */ color: rgb(175, 145, 66);
/* oklch */ color: oklch(66.8% 0.104 88.5);
Tailwind
colors: {
  custom: {
    50: '#cab179',
    500: '#af9142',
    950: '#000000',
  },
}
SCSS
$custom: #af9142;
$custom-light: #cab179;
$custom-dark: #000000;
JSON
{
  "hex": "#af9142",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 66
  },
  "hsl": {
    "h": 43.486,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.66842,
    "c": 0.10423,
    "h": 88.5
  },
  "luminance": 0.29758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF9142

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

Preview Lab → · Contrast checker → · Palette generator →

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