#AAAA2C#AAAA2C

#AAAA2C is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.6% C 0.141 H 109.5°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#AAAA2C
RGBrgb(170, 170, 44)
HSLhsl(60, 59%, 42%)
HSVhsv(60, 74%, 67%)
CMYKcmyk(0%, 0%, 74.1%, 33.3%)
CIE-LABlab(67.63, -14.82, 60.56)
CIE-LCHlch(67.63, 62.35, 103.75°)
OKLaboklab(71.59% -0.0472 0.1332)
OKLCHoklch(71.59% 0.141 109.5)
XYZxyz(31.4081, 37.4783, 7.9620)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAA2C #2C2CAA
analogous
#AA6B2C #AAAA2C #6BAA2C
triadic
#AAAA2C #2CAAAA #AA2CAA
tetradic
#AAAA2C #2CAA6B #2C2CAA #AA2C6B
square
#AAAA2C #2CAA6B #2C2CAA #AA2C6B
split-complementary
#AAAA2C #2C6BAA #6B2CAA
monochromatic
#494913 #79791F #AAAA2C #CFCF44 #DBDB75

Accessibility & contrast

On white

2.47
#AAAA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#AAAA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAA2C
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAA2C#FFFFFF#000000##000000
##AAAA2C1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A311
Deuteranopia (green-blind)
#B9A736
Tritanopia (blue-blind)
#B69F92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaaa2c;
/* rgb */ color: rgb(170, 170, 44);
/* oklch */ color: oklch(71.6% 0.141 109.5);
Tailwind
colors: {
  custom: {
    50: '#c7c36f',
    500: '#aaaa2c',
    950: '#000000',
  },
}
SCSS
$custom: #aaaa2c;
$custom-light: #c7c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaa2c",
  "rgb": {
    "r": 170,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 60,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.7159,
    "c": 0.14134,
    "h": 109.5
  },
  "luminance": 0.37477
}

Semantic roles & 50–950 ramp

primary
#AAAA2C
secondary
#6F6FC3
accent
#46E246
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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