#AAAC2E#AAAC2E

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

Color values

HEX#AAAC2E
RGBrgb(170, 172, 46)
HSLhsl(61, 58%, 43%)
HSVhsv(61, 73%, 67%)
CMYKcmyk(1.2%, 0%, 73.3%, 32.5%)
CIE-LABlab(68.20, -15.75, 60.41)
CIE-LCHlch(68.20, 62.43, 104.61°)
OKLaboklab(72.05% -0.0496 0.1333)
OKLCHoklch(72.05% 0.142 110.4)
XYZxyz(31.8243, 38.2492, 8.2907)
Luminance0.3825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAC2E #302EAC
analogous
#AC6F2E #AAAC2E #6BAC2E
triadic
#AAAC2E #2EAAAC #AC2EAA
tetradic
#AAAC2E #2EAC6F #302EAC #AC2E6B
square
#AAAC2E #2EAC6F #302EAC #AC2E6B
split-complementary
#AAAC2E #2E6BAC #6F2EAC
monochromatic
#4B4B14 #7A7C21 #AAAC2E #CCCE49 #DADB79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAAC2E#FFFFFF#000000##000000
##AAAC2E1.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)
#BAA415
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#B6A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaac2e;
/* rgb */ color: rgb(170, 172, 46);
/* oklch */ color: oklch(72.0% 0.142 110.4);
Tailwind
colors: {
  custom: {
    50: '#c7c470',
    500: '#aaac2e',
    950: '#000000',
  },
}
SCSS
$custom: #aaac2e;
$custom-light: #c7c470;
$custom-dark: #000000;
JSON
{
  "hex": "#aaac2e",
  "rgb": {
    "r": 170,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 60.952,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72049,
    "c": 0.14221,
    "h": 110.4
  },
  "luminance": 0.38248
}

Semantic roles & 50–950 ramp

primary
#AAAC2E
secondary
#7472C3
accent
#47E149
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #AAAC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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