#AC9D38#AC9D38

#AC9D38 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 69.0% C 0.121 H 100.8°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#AC9D38
RGBrgb(172, 157, 56)
HSLhsl(52, 51%, 45%)
HSVhsv(52, 67%, 67%)
CMYKcmyk(0%, 8.7%, 67.4%, 32.5%)
CIE-LABlab(64.30, -6.50, 52.72)
CIE-LCHlch(64.30, 53.12, 97.03°)
OKLaboklab(69% -0.0226 0.1187)
OKLCHoklch(69% 0.121 100.8)
XYZxyz(29.7853, 33.1714, 8.5744)
Luminance0.3317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9D38 #3847AC
analogous
#AC6338 #AC9D38 #81AC38
triadic
#AC9D38 #38AC9D #9D38AC
tetradic
#AC9D38 #38AC63 #3847AC #AC3881
square
#AC9D38 #38AC63 #3847AC #AC3881
split-complementary
#AC9D38 #3881AC #6338AC
monochromatic
#50491A #7E7329 #AC9D38 #C9BA58 #D8CD87

Accessibility & contrast

On white

2.75
#AC9D38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#AC9D38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9D38
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9D38#FFFFFF#000000##000000
##AC9D381.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB992B
Deuteranopia (green-blind)
#B09E3E
Tritanopia (blue-blind)
#B99288
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ac9d38;
/* rgb */ color: rgb(172, 157, 56);
/* oklch */ color: oklch(69.0% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#c8b974',
    500: '#ac9d38',
    950: '#000000',
  },
}
SCSS
$custom: #ac9d38;
$custom-light: #c8b974;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9d38",
  "rgb": {
    "r": 172,
    "g": 157,
    "b": 56
  },
  "hsl": {
    "h": 52.241,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69002,
    "c": 0.12087,
    "h": 100.8
  },
  "luminance": 0.3317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC9D38

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

Preview Lab → · Contrast checker → · Palette generator →

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