#AC9138#AC9138

#AC9138 is a light, moderate yellow. Relative luminance 0.293; OKLCH L 66.4% C 0.112 H 92.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#AC9138
RGBrgb(172, 145, 56)
HSLhsl(46, 51%, 45%)
HSVhsv(46, 67%, 67%)
CMYKcmyk(0%, 15.7%, 67.4%, 32.5%)
CIE-LABlab(61.05, -0.01, 49.33)
CIE-LCHlch(61.05, 49.33, 90.01°)
OKLaboklab(66.43% -0.004 0.1116)
OKLCHoklch(66.43% 0.112 92.1)
XYZxyz(27.8539, 29.3085, 7.9306)
Luminance0.2931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9138 #3853AC
analogous
#AC5738 #AC9138 #8DAC38
triadic
#AC9138 #38AC91 #9138AC
tetradic
#AC9138 #38AC57 #3853AC #AC388D
square
#AC9138 #38AC57 #3853AC #AC388D
split-complementary
#AC9138 #388DAC #5738AC
monochromatic
#50431A #7E6A29 #AC9138 #C9AF58 #D8C587

Accessibility & contrast

On white

3.06
#AC9138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#AC9138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC9138
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9138#FFFFFF#000000##000000
##AC91381.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08F2D
Deuteranopia (green-blind)
#A7973C
Tritanopia (blue-blind)
#BA867E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ac9138;
/* rgb */ color: rgb(172, 145, 56);
/* oklch */ color: oklch(66.4% 0.112 92.1);
Tailwind
colors: {
  custom: {
    50: '#c8b073',
    500: '#ac9138',
    950: '#000000',
  },
}
SCSS
$custom: #ac9138;
$custom-light: #c8b073;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9138",
  "rgb": {
    "r": 172,
    "g": 145,
    "b": 56
  },
  "hsl": {
    "h": 46.034,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.66432,
    "c": 0.11162,
    "h": 92.1
  },
  "luminance": 0.29307
}

Semantic roles & 50–950 ramp

primary
#AC9138
secondary
#7E8EC2
accent
#6EDA4D
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AC9138

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

Preview Lab → · Contrast checker → · Palette generator →

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