#AAAA2D#AAAA2D

#AAAA2D 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#AAAA2D
RGBrgb(170, 170, 45)
HSLhsl(60, 58%, 42%)
HSVhsv(60, 74%, 67%)
CMYKcmyk(0%, 0%, 73.5%, 33.3%)
CIE-LABlab(67.64, -14.77, 60.22)
CIE-LCHlch(67.64, 62.01, 103.78°)
OKLaboklab(71.6% -0.0469 0.1327)
OKLCHoklch(71.6% 0.141 109.5)
XYZxyz(31.4271, 37.4859, 8.0621)
Luminance0.3749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAA2D #2D2DAA
analogous
#AA6C2D #AAAA2D #6CAA2D
triadic
#AAAA2D #2DAAAA #AA2DAA
tetradic
#AAAA2D #2DAA6C #2D2DAA #AA2D6C
square
#AAAA2D #2DAA6C #2D2DAA #AA2D6C
split-complementary
#AAAA2D #2D6CAA #6C2DAA
monochromatic
#494913 #7A7A20 #AAAA2D #CECE46 #DBDB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAA2D#FFFFFF#000000##000000
##AAAA2D1.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)
#B8A313
Deuteranopia (green-blind)
#B9A737
Tritanopia (blue-blind)
#B69F92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaaa2d;
/* rgb */ color: rgb(170, 170, 45);
/* oklch */ color: oklch(71.6% 0.141 109.5);
Tailwind
colors: {
  custom: {
    50: '#c7c36f',
    500: '#aaaa2d',
    950: '#000000',
  },
}
SCSS
$custom: #aaaa2d;
$custom-light: #c7c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaa2d",
  "rgb": {
    "r": 170,
    "g": 170,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71596,
    "c": 0.14076,
    "h": 109.5
  },
  "luminance": 0.37485
}

Semantic roles & 50–950 ramp

primary
#AAAA2D
secondary
#7070C3
accent
#46E146
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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