#AAAC2F#AAAC2F

#AAAC2F is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.1% C 0.142 H 110.4°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#AAAC2F
RGBrgb(170, 172, 47)
HSLhsl(61, 57%, 43%)
HSVhsv(61, 73%, 67%)
CMYKcmyk(1.2%, 0%, 72.7%, 32.5%)
CIE-LABlab(68.21, -15.70, 60.06)
CIE-LCHlch(68.21, 62.08, 104.65°)
OKLaboklab(72.06% -0.0494 0.1327)
OKLCHoklch(72.06% 0.142 110.4)
XYZxyz(31.8443, 38.2572, 8.3957)
Luminance0.3826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAC2F #312FAC
analogous
#AC6F2F #AAAC2F #6BAC2F
triadic
#AAAC2F #2FAAAC #AC2FAA
tetradic
#AAAC2F #2FAC6F #312FAC #AC2F6B
square
#AAAC2F #2FAC6F #312FAC #AC2F6B
split-complementary
#AAAC2F #2F6BAC #6F2FAC
monochromatic
#4B4C15 #7A7C22 #AAAC2F #CCCE4B #D9DB7B

Accessibility & contrast

On white

2.43
#AAAC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#AAAC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAC2F
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAC2F#FFFFFF#000000##000000
##AAAC2F1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA417
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#B6A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaac2f;
/* rgb */ color: rgb(170, 172, 47);
/* oklch */ color: oklch(72.1% 0.142 110.4);
Tailwind
colors: {
  custom: {
    50: '#c7c471',
    500: '#aaac2f',
    950: '#000000',
  },
}
SCSS
$custom: #aaac2f;
$custom-light: #c7c471;
$custom-dark: #000000;
JSON
{
  "hex": "#aaac2f",
  "rgb": {
    "r": 170,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 60.96,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72055,
    "c": 0.14161,
    "h": 110.4
  },
  "luminance": 0.38256
}

Semantic roles & 50–950 ramp

primary
#AAAC2F
secondary
#7574C3
accent
#47E04A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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