#AA9927#AA9927

#AA9927 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.8% C 0.129 H 100.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#AA9927
RGBrgb(170, 153, 39)
HSLhsl(52, 63%, 41%)
HSVhsv(52, 77%, 67%)
CMYKcmyk(0%, 10%, 77.1%, 33.3%)
CIE-LABlab(62.91, -6.10, 57.87)
CIE-LCHlch(62.91, 58.20, 96.02°)
OKLaboklab(67.82% -0.0232 0.1266)
OKLCHoklch(67.82% 0.129 100.4)
XYZxyz(28.3364, 31.4764, 6.5020)
Luminance0.3147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9927 #2738AA
analogous
#AA5727 #AA9927 #79AA27
triadic
#AA9927 #27AA99 #9927AA
tetradic
#AA9927 #27AA57 #2738AA #AA2779
square
#AA9927 #27AA57 #2738AA #AA2779
split-complementary
#AA9927 #2779AA #5727AA
monochromatic
#463F10 #786C1C #AA9927 #D2BF3C #DECF6E

Accessibility & contrast

On white

2.88
#AA9927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#AA9927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9927
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9927#FFFFFF#000000##000000
##AA99271.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8950E
Deuteranopia (green-blind)
#AD9B2F
Tritanopia (blue-blind)
#B88D83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa9927;
/* rgb */ color: rgb(170, 153, 39);
/* oklch */ color: oklch(67.8% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#c7b66b',
    500: '#aa9927',
    950: '#000000',
  },
}
SCSS
$custom: #aa9927;
$custom-light: #c7b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9927",
  "rgb": {
    "r": 170,
    "g": 153,
    "b": 39
  },
  "hsl": {
    "h": 52.214,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67817,
    "c": 0.12867,
    "h": 100.4
  },
  "luminance": 0.31475
}

Semantic roles & 50–950 ramp

primary
#AA9927
secondary
#6974C4
accent
#57E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA9927

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

Preview Lab → · Contrast checker → · Palette generator →

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