#AC9B2F#AC9B2F

#AC9B2F is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.5% C 0.125 H 100.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#AC9B2F
RGBrgb(172, 155, 47)
HSLhsl(52, 57%, 43%)
HSVhsv(52, 73%, 67%)
CMYKcmyk(0%, 9.9%, 72.7%, 32.5%)
CIE-LABlab(63.69, -5.92, 55.75)
CIE-LCHlch(63.69, 56.07, 96.06°)
OKLaboklab(68.5% -0.0219 0.1235)
OKLCHoklch(68.5% 0.125 100.1)
XYZxyz(29.2491, 32.4200, 7.4058)
Luminance0.3242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9B2F #2F40AC
analogous
#AC5C2F #AC9B2F #7EAC2F
triadic
#AC9B2F #2FAC9B #9B2FAC
tetradic
#AC9B2F #2FAC5C #2F40AC #AC2F7E
square
#AC9B2F #2FAC5C #2F40AC #AC2F7E
split-complementary
#AC9B2F #2F7EAC #5C2FAC
monochromatic
#4C4415 #7C7022 #AC9B2F #CEBC4B #DBCE7B

Accessibility & contrast

On white

2.81
#AC9B2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#AC9B2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9B2F
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9B2F#FFFFFF#000000##000000
##AC9B2F1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971D
Deuteranopia (green-blind)
#AF9D36
Tritanopia (blue-blind)
#B99086
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ac9b2f;
/* rgb */ color: rgb(172, 155, 47);
/* oklch */ color: oklch(68.5% 0.125 100.1);
Tailwind
colors: {
  custom: {
    50: '#c8b86f',
    500: '#ac9b2f',
    950: '#000000',
  },
}
SCSS
$custom: #ac9b2f;
$custom-light: #c8b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9b2f",
  "rgb": {
    "r": 172,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 51.84,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68496,
    "c": 0.12547,
    "h": 100.1
  },
  "luminance": 0.32419
}

Semantic roles & 50–950 ramp

primary
#AC9B2F
secondary
#747EC3
accent
#5CE047
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AC9B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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