#AC9838#AC9838

#AC9838 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#AC9838
RGBrgb(172, 152, 56)
HSLhsl(50, 51%, 45%)
HSVhsv(50, 67%, 67%)
CMYKcmyk(0%, 11.6%, 67.4%, 32.5%)
CIE-LABlab(62.94, -3.82, 51.31)
CIE-LCHlch(62.94, 51.45, 94.25°)
OKLaboklab(67.92% -0.0149 0.1158)
OKLCHoklch(67.92% 0.117 97.4)
XYZxyz(28.9566, 31.5141, 8.2982)
Luminance0.3151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9838 #384CAC
analogous
#AC5E38 #AC9838 #86AC38
triadic
#AC9838 #38AC98 #9838AC
tetradic
#AC9838 #38AC5E #384CAC #AC3886
square
#AC9838 #38AC5E #384CAC #AC3886
split-complementary
#AC9838 #3886AC #5E38AC
monochromatic
#50461A #7E6F29 #AC9838 #C9B558 #D8CA87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC9838#FFFFFF#000000##000000
##AC98381.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)
#A7942C
Deuteranopia (green-blind)
#AC9B3D
Tritanopia (blue-blind)
#B98D84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ac9838;
/* rgb */ color: rgb(172, 152, 56);
/* oklch */ color: oklch(67.9% 0.117 97.4);
Tailwind
colors: {
  custom: {
    50: '#c8b674',
    500: '#ac9838',
    950: '#000000',
  },
}
SCSS
$custom: #ac9838;
$custom-light: #c8b674;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9838",
  "rgb": {
    "r": 172,
    "g": 152,
    "b": 56
  },
  "hsl": {
    "h": 49.655,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67924,
    "c": 0.11671,
    "h": 97.4
  },
  "luminance": 0.31513
}

Semantic roles & 50–950 ramp

primary
#AC9838
secondary
#7E8AC2
accent
#66DA4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AC9838

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

Preview Lab → · Contrast checker → · Palette generator →

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