#AAAA2B#AAAA2B

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

Color values

HEX#AAAA2B
RGBrgb(170, 170, 43)
HSLhsl(60, 60%, 42%)
HSVhsv(60, 75%, 67%)
CMYKcmyk(0%, 0%, 74.7%, 33.3%)
CIE-LABlab(67.63, -14.86, 60.90)
CIE-LCHlch(67.63, 62.68, 103.71°)
OKLaboklab(71.58% -0.0474 0.1338)
OKLCHoklch(71.58% 0.142 109.5)
XYZxyz(31.3895, 37.4709, 7.8641)
Luminance0.3747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAA2B #2B2BAA
analogous
#AA6B2B #AAAA2B #6BAA2B
triadic
#AAAA2B #2BAAAA #AA2BAA
tetradic
#AAAA2B #2BAA6B #2B2BAA #AA2B6B
square
#AAAA2B #2BAA6B #2B2BAA #AA2B6B
split-complementary
#AAAA2B #2B6BAA #6B2BAA
monochromatic
#484812 #79791F #AAAA2B #CFCF43 #DCDC74

Accessibility & contrast

On white

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

On black

8.49
#AAAA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAA2B
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAA2B#FFFFFF#000000##000000
##AAAA2B1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaaa2b;
/* rgb */ color: rgb(170, 170, 43);
/* oklch */ color: oklch(71.6% 0.142 109.5);
Tailwind
colors: {
  custom: {
    50: '#c7c36e',
    500: '#aaaa2b',
    950: '#000000',
  },
}
SCSS
$custom: #aaaa2b;
$custom-light: #c7c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaa2b",
  "rgb": {
    "r": 170,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71584,
    "c": 0.1419,
    "h": 109.5
  },
  "luminance": 0.3747
}

Semantic roles & 50–950 ramp

primary
#AAAA2B
secondary
#6E6EC3
accent
#45E345
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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