#AA9227#AA9227

#AA9227 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.3% C 0.123 H 95.8°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#AA9227
RGBrgb(170, 146, 39)
HSLhsl(49, 63%, 41%)
HSVhsv(49, 77%, 67%)
CMYKcmyk(0%, 14.1%, 77.1%, 33.3%)
CIE-LABlab(61.00, -2.32, 56.11)
CIE-LCHlch(61.00, 56.15, 92.37°)
OKLaboklab(66.31% -0.0125 0.1228)
OKLCHoklch(66.31% 0.123 95.8)
XYZxyz(27.2241, 29.2518, 6.1313)
Luminance0.2925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9227 #273FAA
analogous
#AA5127 #AA9227 #80AA27
triadic
#AA9227 #27AA92 #9227AA
tetradic
#AA9227 #27AA51 #273FAA #AA2780
square
#AA9227 #27AA51 #273FAA #AA2780
split-complementary
#AA9227 #2780AA #5127AA
monochromatic
#463C10 #78671C #AA9227 #D2B73C #DEC96E

Accessibility & contrast

On white

3.07
#AA9227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#AA9227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA9227
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9227#FFFFFF#000000##000000
##AA92271.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F12
Deuteranopia (green-blind)
#A8962E
Tritanopia (blue-blind)
#B8867D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa9227;
/* rgb */ color: rgb(170, 146, 39);
/* oklch */ color: oklch(66.3% 0.123 95.8);
Tailwind
colors: {
  custom: {
    50: '#c7b16a',
    500: '#aa9227',
    950: '#000000',
  },
}
SCSS
$custom: #aa9227;
$custom-light: #c7b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9227",
  "rgb": {
    "r": 170,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 49.008,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66308,
    "c": 0.12343,
    "h": 95.8
  },
  "luminance": 0.2925
}

Semantic roles & 50–950 ramp

primary
#AA9227
secondary
#6979C4
accent
#60E642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AA9227

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

Preview Lab → · Contrast checker → · Palette generator →

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