#AC9837#AC9837

#AC9837 is a light, moderate yellow. Relative luminance 0.315; OKLCH L 67.9% C 0.117 H 97.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#AC9837
RGBrgb(172, 152, 55)
HSLhsl(50, 52%, 45%)
HSVhsv(50, 68%, 67%)
CMYKcmyk(0%, 11.6%, 68%, 32.5%)
CIE-LABlab(62.93, -3.88, 51.73)
CIE-LCHlch(62.93, 51.87, 94.28°)
OKLaboklab(67.92% -0.0152 0.1165)
OKLCHoklch(67.92% 0.117 97.4)
XYZxyz(28.9324, 31.5044, 8.1707)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9837 #374BAC
analogous
#AC5E37 #AC9837 #85AC37
triadic
#AC9837 #37AC98 #9837AC
tetradic
#AC9837 #37AC5E #374BAC #AC3785
square
#AC9837 #37AC5E #374BAC #AC3785
split-complementary
#AC9837 #3785AC #5E37AC
monochromatic
#4F4619 #7E6F28 #AC9837 #C9B657 #D8CA85

Accessibility & contrast

On white

2.88
#AC9837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#AC9837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9837
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9837#FFFFFF#000000##000000
##AC98371.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7942A
Deuteranopia (green-blind)
#AC9B3C
Tritanopia (blue-blind)
#B98D84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ac9837;
/* rgb */ color: rgb(172, 152, 55);
/* oklch */ color: oklch(67.9% 0.117 97.4);
Tailwind
colors: {
  custom: {
    50: '#c8b673',
    500: '#ac9837',
    950: '#000000',
  },
}
SCSS
$custom: #ac9837;
$custom-light: #c8b673;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9837",
  "rgb": {
    "r": 172,
    "g": 152,
    "b": 55
  },
  "hsl": {
    "h": 49.744,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67915,
    "c": 0.11746,
    "h": 97.4
  },
  "luminance": 0.31503
}

Semantic roles & 50–950 ramp

primary
#AC9837
secondary
#7D89C2
accent
#65DB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AC9837

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

Preview Lab → · Contrast checker → · Palette generator →

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