#AA9827#AA9827

#AA9827 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.6% C 0.128 H 99.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#AA9827
RGBrgb(170, 152, 39)
HSLhsl(52, 63%, 41%)
HSVhsv(52, 77%, 67%)
CMYKcmyk(0%, 10.6%, 77.1%, 33.3%)
CIE-LABlab(62.63, -5.56, 57.62)
CIE-LCHlch(62.63, 57.89, 95.51°)
OKLaboklab(67.6% -0.0217 0.126)
OKLCHoklch(67.6% 0.128 99.8)
XYZxyz(28.1734, 31.1504, 6.4477)
Luminance0.3115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9827 #2739AA
analogous
#AA5627 #AA9827 #7AAA27
triadic
#AA9827 #27AA98 #9827AA
tetradic
#AA9827 #27AA56 #2739AA #AA277A
square
#AA9827 #27AA56 #2739AA #AA277A
split-complementary
#AA9827 #277AAA #5627AA
monochromatic
#463F10 #786B1C #AA9827 #D2BE3C #DECE6E

Accessibility & contrast

On white

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

On black

7.23
#AA9827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9827
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9827#FFFFFF#000000##000000
##AA98271.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7940F
Deuteranopia (green-blind)
#AC9A2F
Tritanopia (blue-blind)
#B88C83
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #aa9827;
/* rgb */ color: rgb(170, 152, 39);
/* oklch */ color: oklch(67.6% 0.128 99.8);
Tailwind
colors: {
  custom: {
    50: '#c7b56a',
    500: '#aa9827',
    950: '#000000',
  },
}
SCSS
$custom: #aa9827;
$custom-light: #c7b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9827",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 39
  },
  "hsl": {
    "h": 51.756,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.676,
    "c": 0.12788,
    "h": 99.8
  },
  "luminance": 0.31149
}

Semantic roles & 50–950 ramp

primary
#AA9827
secondary
#6975C4
accent
#59E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA9827

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

Preview Lab → · Contrast checker → · Palette generator →

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