#AA9E27#AA9E27

#AA9E27 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.9% C 0.133 H 103.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#AA9E27
RGBrgb(170, 158, 39)
HSLhsl(55, 63%, 41%)
HSVhsv(55, 77%, 67%)
CMYKcmyk(0%, 7.1%, 77.1%, 33.3%)
CIE-LABlab(64.28, -8.76, 59.14)
CIE-LCHlch(64.28, 59.79, 98.43°)
OKLaboklab(68.91% -0.0307 0.1293)
OKLCHoklch(68.91% 0.133 103.4)
XYZxyz(29.1720, 33.1475, 6.7806)
Luminance0.3315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9E27 #2733AA
analogous
#AA5C27 #AA9E27 #74AA27
triadic
#AA9E27 #27AA9E #9E27AA
tetradic
#AA9E27 #27AA5C #2733AA #AA2774
square
#AA9E27 #27AA5C #2733AA #AA2774
split-complementary
#AA9E27 #2774AA #5C27AA
monochromatic
#464110 #78701C #AA9E27 #D2C43C #DED36E

Accessibility & contrast

On white

2.75
#AA9E27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#AA9E27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9E27
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9E27#FFFFFF#000000##000000
##AA9E271.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990B
Deuteranopia (green-blind)
#B19E30
Tritanopia (blue-blind)
#B79388
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #aa9e27;
/* rgb */ color: rgb(170, 158, 39);
/* oklch */ color: oklch(68.9% 0.133 103.4);
Tailwind
colors: {
  custom: {
    50: '#c7ba6b',
    500: '#aa9e27',
    950: '#000000',
  },
}
SCSS
$custom: #aa9e27;
$custom-light: #c7ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9e27",
  "rgb": {
    "r": 170,
    "g": 158,
    "b": 39
  },
  "hsl": {
    "h": 54.504,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68908,
    "c": 0.13286,
    "h": 103.4
  },
  "luminance": 0.33146
}

Semantic roles & 50–950 ramp

primary
#AA9E27
secondary
#6971C4
accent
#51E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA9E27

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

Preview Lab → · Contrast checker → · Palette generator →

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