#AC8E2F#AC8E2F

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

Color values

HEX#AC8E2F
RGBrgb(172, 142, 47)
HSLhsl(46, 57%, 43%)
HSVhsv(46, 73%, 67%)
CMYKcmyk(0%, 17.4%, 72.7%, 32.5%)
CIE-LABlab(60.18, 1.14, 52.30)
CIE-LCHlch(60.18, 52.31, 88.76°)
OKLaboklab(65.72% -0.0018 0.1162)
OKLCHoklch(65.72% 0.116 90.9)
XYZxyz(27.2009, 28.3235, 6.7231)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8E2F #2F4DAC
analogous
#AC4F2F #AC8E2F #8BAC2F
triadic
#AC8E2F #2FAC8E #8E2FAC
tetradic
#AC8E2F #2FAC4F #2F4DAC #AC2F8B
square
#AC8E2F #2FAC4F #2F4DAC #AC2F8B
split-complementary
#AC8E2F #2F8BAC #4F2FAC
monochromatic
#4C3F15 #7C6622 #AC8E2F #CEAE4B #DBC47B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC8E2F#FFFFFF#000000##000000
##AC8E2F1.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)
#9E8C21
Deuteranopia (green-blind)
#A59534
Tritanopia (blue-blind)
#BA827B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac8e2f;
/* rgb */ color: rgb(172, 142, 47);
/* oklch */ color: oklch(65.7% 0.116 90.9);
Tailwind
colors: {
  custom: {
    50: '#c9ae6e',
    500: '#ac8e2f',
    950: '#000000',
  },
}
SCSS
$custom: #ac8e2f;
$custom-light: #c9ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8e2f",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 45.6,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65721,
    "c": 0.11623,
    "h": 90.9
  },
  "luminance": 0.28322
}

Semantic roles & 50–950 ramp

primary
#AC8E2F
secondary
#7487C3
accent
#6CE047
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AC8E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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