#AC9740#AC9740

#AC9740 is a light, moderate yellow. Relative luminance 0.313; OKLCH L 67.8% C 0.109 H 95.7°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#AC9740
RGBrgb(172, 151, 64)
HSLhsl(48, 46%, 46%)
HSVhsv(48, 63%, 67%)
CMYKcmyk(0%, 12.2%, 62.8%, 32.5%)
CIE-LABlab(62.74, -2.76, 47.49)
CIE-LCHlch(62.74, 47.58, 93.33°)
OKLaboklab(67.79% -0.0109 0.1089)
OKLCHoklch(67.79% 0.109 95.7)
XYZxyz(29.0065, 31.2754, 9.3584)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9740 #4055AC
analogous
#AC6140 #AC9740 #8BAC40
triadic
#AC9740 #40AC97 #9740AC
tetradic
#AC9740 #40AC61 #4055AC #AC408B
square
#AC9740 #40AC61 #4055AC #AC408B
split-complementary
#AC9740 #408BAC #6140AC
monochromatic
#53491F #7F702F #AC9740 #C5B264 #D6C891

Accessibility & contrast

On white

2.89
#AC9740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#AC9740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9740
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9740#FFFFFF#000000##000000
##AC97401.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59436
Deuteranopia (green-blind)
#AB9B44
Tritanopia (blue-blind)
#B98C84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ac9740;
/* rgb */ color: rgb(172, 151, 64);
/* oklch */ color: oklch(67.8% 0.109 95.7);
Tailwind
colors: {
  custom: {
    50: '#c8b578',
    500: '#ac9740',
    950: '#000000',
  },
}
SCSS
$custom: #ac9740;
$custom-light: #c8b578;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9740",
  "rgb": {
    "r": 172,
    "g": 151,
    "b": 64
  },
  "hsl": {
    "h": 48.333,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.67788,
    "c": 0.10945,
    "h": 95.7
  },
  "luminance": 0.31274
}

Semantic roles & 50–950 ramp

primary
#AC9740
secondary
#8792C1
accent
#6CD552
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #AC9740

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

Preview Lab → · Contrast checker → · Palette generator →

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