#AC8E2B#AC8E2B

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

Color values

HEX#AC8E2B
RGBrgb(172, 142, 43)
HSLhsl(46, 60%, 42%)
HSVhsv(46, 75%, 67%)
CMYKcmyk(0%, 17.4%, 75%, 32.5%)
CIE-LABlab(60.15, 0.94, 53.87)
CIE-LCHlch(60.15, 53.88, 89.00°)
OKLaboklab(65.69% -0.0028 0.1188)
OKLCHoklch(65.69% 0.119 91.4)
XYZxyz(27.1238, 28.2927, 6.3174)
Luminance0.2829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8E2B #2B49AC
analogous
#AC4E2B #AC8E2B #89AC2B
triadic
#AC8E2B #2BAC8E #8E2BAC
tetradic
#AC8E2B #2BAC4E #2B49AC #AC2B89
square
#AC8E2B #2BAC4E #2B49AC #AC2B89
split-complementary
#AC8E2B #2B89AC #4E2BAC
monochromatic
#4A3D13 #7B661F #AC8E2B #D0B044 #DCC475

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC8E2B#FFFFFF#000000##000000
##AC8E2B1.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)
#9E8C1B
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#BA827A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ac8e2b;
/* rgb */ color: rgb(172, 142, 43);
/* oklch */ color: oklch(65.7% 0.119 91.4);
Tailwind
colors: {
  custom: {
    50: '#c9ae6b',
    500: '#ac8e2b',
    950: '#000000',
  },
}
SCSS
$custom: #ac8e2b;
$custom-light: #c9ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8e2b",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 46.047,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6569,
    "c": 0.11879,
    "h": 91.4
  },
  "luminance": 0.28291
}

Semantic roles & 50–950 ramp

primary
#AC8E2B
secondary
#6F83C4
accent
#6AE345
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AC8E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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