#AA9740#AA9740

#AA9740 is a light, moderate yellow. Relative luminance 0.310; OKLCH L 67.6% C 0.109 H 97.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#AA9740
RGBrgb(170, 151, 64)
HSLhsl(49, 45%, 46%)
HSVhsv(49, 62%, 67%)
CMYKcmyk(0%, 11.2%, 62.4%, 33.3%)
CIE-LABlab(62.55, -3.64, 47.23)
CIE-LCHlch(62.55, 47.37, 94.41°)
OKLaboklab(67.59% -0.0133 0.1084)
OKLCHoklch(67.59% 0.109 97)
XYZxyz(28.5708, 31.0508, 9.3380)
Luminance0.3105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9740 #4053AA
analogous
#AA6240 #AA9740 #88AA40
triadic
#AA9740 #40AA97 #9740AA
tetradic
#AA9740 #40AA62 #4053AA #AA4088
square
#AA9740 #40AA62 #4053AA #AA4088
split-complementary
#AA9740 #4088AA #6240AA
monochromatic
#51481F #7E702F #AA9740 #C4B363 #D5C98F

Accessibility & contrast

On white

2.91
#AA9740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#AA9740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9740
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9740#FFFFFF#000000##000000
##AA97401.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59436
Deuteranopia (green-blind)
#AA9A44
Tritanopia (blue-blind)
#B78C84
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #aa9740;
/* rgb */ color: rgb(170, 151, 64);
/* oklch */ color: oklch(67.6% 0.109 97.0);
Tailwind
colors: {
  custom: {
    50: '#c6b578',
    500: '#aa9740',
    950: '#000000',
  },
}
SCSS
$custom: #aa9740;
$custom-light: #c6b578;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9740",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 64
  },
  "hsl": {
    "h": 49.245,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.67594,
    "c": 0.10922,
    "h": 97
  },
  "luminance": 0.31049
}

Semantic roles & 50–950 ramp

primary
#AA9740
secondary
#8690C0
accent
#6AD553
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #AA9740

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

Preview Lab → · Contrast checker → · Palette generator →

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