#AAA140#AAA140

#AAA140 is a light, moderate yellow. Relative luminance 0.344; OKLCH L 69.8% C 0.118 H 104.0°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#AAA140
RGBrgb(170, 161, 64)
HSLhsl(55, 45%, 46%)
HSVhsv(55, 62%, 67%)
CMYKcmyk(0%, 5.3%, 62.4%, 33.3%)
CIE-LABlab(65.28, -8.99, 50.22)
CIE-LCHlch(65.28, 51.02, 100.15°)
OKLaboklab(69.76% -0.0286 0.1148)
OKLCHoklch(69.76% 0.118 104)
XYZxyz(30.2489, 34.4071, 9.8973)
Luminance0.3441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA140 #4049AA
analogous
#AA6C40 #AAA140 #7EAA40
triadic
#AAA140 #40AAA1 #A140AA
tetradic
#AAA140 #40AA6C #4049AA #AA407E
square
#AAA140 #40AA6C #4049AA #AA407E
split-complementary
#AAA140 #407EAA #6C40AA
monochromatic
#514D1F #7E772F #AAA140 #C4BC63 #D5CF8F

Accessibility & contrast

On white

2.66
#AAA140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#AAA140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA140
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA140#FFFFFF#000000##000000
##AAA1401.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C35
Deuteranopia (green-blind)
#B2A145
Tritanopia (blue-blind)
#B6978C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aaa140;
/* rgb */ color: rgb(170, 161, 64);
/* oklch */ color: oklch(69.8% 0.118 104.0);
Tailwind
colors: {
  custom: {
    50: '#c6bc79',
    500: '#aaa140',
    950: '#000000',
  },
}
SCSS
$custom: #aaa140;
$custom-light: #c6bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa140",
  "rgb": {
    "r": 170,
    "g": 161,
    "b": 64
  },
  "hsl": {
    "h": 54.906,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69763,
    "c": 0.11827,
    "h": 104
  },
  "luminance": 0.34406
}

Semantic roles & 50–950 ramp

primary
#AAA140
secondary
#868BC0
accent
#5ED553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #AAA140

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

Preview Lab → · Contrast checker → · Palette generator →

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