#AC9C38#AC9C38

#AC9C38 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.8% C 0.120 H 100.1°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#AC9C38
RGBrgb(172, 156, 56)
HSLhsl(52, 51%, 45%)
HSVhsv(52, 67%, 67%)
CMYKcmyk(0%, 9.3%, 67.4%, 32.5%)
CIE-LABlab(64.03, -5.97, 52.44)
CIE-LCHlch(64.03, 52.78, 96.49°)
OKLaboklab(68.79% -0.0211 0.1181)
OKLCHoklch(68.79% 0.12 100.1)
XYZxyz(29.6168, 32.8344, 8.5183)
Luminance0.3283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9C38 #3848AC
analogous
#AC6238 #AC9C38 #82AC38
triadic
#AC9C38 #38AC9C #9C38AC
tetradic
#AC9C38 #38AC62 #3848AC #AC3882
square
#AC9C38 #38AC62 #3848AC #AC3882
split-complementary
#AC9C38 #3882AC #6238AC
monochromatic
#50481A #7E7229 #AC9C38 #C9B958 #D8CD87

Accessibility & contrast

On white

2.78
#AC9C38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#AC9C38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9C38
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9C38#FFFFFF#000000##000000
##AC9C381.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982B
Deuteranopia (green-blind)
#AF9E3E
Tritanopia (blue-blind)
#B99187
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ac9c38;
/* rgb */ color: rgb(172, 156, 56);
/* oklch */ color: oklch(68.8% 0.120 100.1);
Tailwind
colors: {
  custom: {
    50: '#c8b874',
    500: '#ac9c38',
    950: '#000000',
  },
}
SCSS
$custom: #ac9c38;
$custom-light: #c8b874;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9c38",
  "rgb": {
    "r": 172,
    "g": 156,
    "b": 56
  },
  "hsl": {
    "h": 51.724,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68786,
    "c": 0.12001,
    "h": 100.1
  },
  "luminance": 0.32833
}

Semantic roles & 50–950 ramp

primary
#AC9C38
secondary
#7E87C2
accent
#61DA4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AC9C38

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

Preview Lab → · Contrast checker → · Palette generator →

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