#AAA245#AAA245

#AAA245 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.0% C 0.115 H 104.4°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#AAA245
RGBrgb(170, 162, 69)
HSLhsl(55, 42%, 47%)
HSVhsv(55, 59%, 67%)
CMYKcmyk(0%, 4.7%, 59.4%, 33.3%)
CIE-LABlab(65.61, -9.16, 48.29)
CIE-LCHlch(65.61, 49.16, 100.74°)
OKLaboklab(70.03% -0.0286 0.1113)
OKLCHoklch(70.03% 0.115 104.4)
XYZxyz(30.5731, 34.8174, 10.7390)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA245 #454DAA
analogous
#AA7045 #AAA245 #7FAA45
triadic
#AAA245 #45AAA2 #A245AA
tetradic
#AAA245 #45AA70 #454DAA #AA457F
square
#AAA245 #45AA70 #454DAA #AA457F
split-complementary
#AAA245 #457FAA #7045AA
monochromatic
#534F22 #7E7933 #AAA245 #C2BB6A #D4CF95

Accessibility & contrast

On white

2.64
#AAA245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#AAA245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA245
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA245#FFFFFF#000000##000000
##AAA2451.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3B
Deuteranopia (green-blind)
#B2A14A
Tritanopia (blue-blind)
#B6988E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aaa245;
/* rgb */ color: rgb(170, 162, 69);
/* oklch */ color: oklch(70.0% 0.115 104.4);
Tailwind
colors: {
  custom: {
    50: '#c6bd7c',
    500: '#aaa245',
    950: '#000000',
  },
}
SCSS
$custom: #aaa245;
$custom-light: #c6bd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa245",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 55.248,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.70034,
    "c": 0.11494,
    "h": 104.4
  },
  "luminance": 0.34816
}

Semantic roles & 50–950 ramp

primary
#AAA245
secondary
#8B8FC0
accent
#60D256
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AAA245

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

Preview Lab → · Contrast checker → · Palette generator →

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