#AC8E2D#AC8E2D

#AC8E2D is a light, moderate yellow. Relative luminance 0.283; OKLCH L 65.7% C 0.118 H 91.1°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AC8E2D
RGBrgb(172, 142, 45)
HSLhsl(46, 59%, 43%)
HSVhsv(46, 74%, 67%)
CMYKcmyk(0%, 17.4%, 73.8%, 32.5%)
CIE-LABlab(60.17, 1.04, 53.09)
CIE-LCHlch(60.17, 53.10, 88.88°)
OKLaboklab(65.71% -0.0023 0.1175)
OKLCHoklch(65.71% 0.118 91.1)
XYZxyz(27.1614, 28.3078, 6.5154)
Luminance0.2831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8E2D #2D4BAC
analogous
#AC4F2D #AC8E2D #8AAC2D
triadic
#AC8E2D #2DAC8E #8E2DAC
tetradic
#AC8E2D #2DAC4F #2D4BAC #AC2D8A
square
#AC8E2D #2DAC4F #2D4BAC #AC2D8A
split-complementary
#AC8E2D #2D8AAC #4F2DAC
monochromatic
#4B3E14 #7B6620 #AC8E2D #CFAF47 #DCC478

Accessibility & contrast

On white

3.15
#AC8E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#AC8E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC8E2D
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8E2D#FFFFFF#000000##000000
##AC8E2D1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1E
Deuteranopia (green-blind)
#A59532
Tritanopia (blue-blind)
#BA827B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac8e2d;
/* rgb */ color: rgb(172, 142, 45);
/* oklch */ color: oklch(65.7% 0.118 91.1);
Tailwind
colors: {
  custom: {
    50: '#c9ae6c',
    500: '#ac8e2d',
    950: '#000000',
  },
}
SCSS
$custom: #ac8e2d;
$custom-light: #c9ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8e2d",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 45.827,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65705,
    "c": 0.11754,
    "h": 91.1
  },
  "luminance": 0.28306
}

Semantic roles & 50–950 ramp

primary
#AC8E2D
secondary
#7185C4
accent
#6BE246
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AC8E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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