#AA9834#AA9834

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

Color values

HEX#AA9834
RGBrgb(170, 152, 52)
HSLhsl(51, 53%, 44%)
HSVhsv(51, 69%, 67%)
CMYKcmyk(0%, 10.6%, 69.4%, 33.3%)
CIE-LABlab(62.72, -4.93, 52.72)
CIE-LCHlch(62.72, 52.95, 95.35°)
OKLaboklab(67.7% -0.0185 0.1181)
OKLCHoklch(67.7% 0.12 98.9)
XYZxyz(28.4269, 31.2518, 7.7830)
Luminance0.3125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9834 #3446AA
analogous
#AA5D34 #AA9834 #81AA34
triadic
#AA9834 #34AA98 #9834AA
tetradic
#AA9834 #34AA5D #3446AA #AA3481
square
#AA9834 #34AA5D #3446AA #AA3481
split-complementary
#AA9834 #3481AA #5D34AA
monochromatic
#4C4417 #7B6E26 #AA9834 #CAB751 #D8CB80

Accessibility & contrast

On white

2.90
#AA9834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA9834#FFFFFF#000000##000000
##AA98341.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79426
Deuteranopia (green-blind)
#AC9A3A
Tritanopia (blue-blind)
#B78D84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa9834;
/* rgb */ color: rgb(170, 152, 52);
/* oklch */ color: oklch(67.7% 0.120 98.9);
Tailwind
colors: {
  custom: {
    50: '#c7b671',
    500: '#aa9834',
    950: '#000000',
  },
}
SCSS
$custom: #aa9834;
$custom-light: #c7b671;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9834",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 52
  },
  "hsl": {
    "h": 50.847,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67695,
    "c": 0.11955,
    "h": 98.9
  },
  "luminance": 0.3125
}

Semantic roles & 50–950 ramp

primary
#AA9834
secondary
#7884C1
accent
#61DD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9834

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

Preview Lab → · Contrast checker → · Palette generator →

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