#A0AA40#A0AA40

#A0AA40 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.9% C 0.130 H 114.3°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#A0AA40
RGBrgb(160, 170, 64)
HSLhsl(66, 45%, 46%)
HSVhsv(66, 62%, 67%)
CMYKcmyk(5.9%, 0%, 62.4%, 33.3%)
CIE-LABlab(66.97, -17.97, 51.80)
CIE-LCHlch(66.97, 54.83, 109.13°)
OKLaboklab(70.91% -0.0534 0.1183)
OKLCHoklch(70.91% 0.13 114.3)
XYZxyz(29.7980, 36.5937, 10.3431)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AA40 #4A40AA
analogous
#AA7F40 #A0AA40 #6BAA40
triadic
#A0AA40 #40A0AA #AA40A0
tetradic
#A0AA40 #40AA7F #4A40AA #AA406B
square
#A0AA40 #40AA7F #4A40AA #AA406B
split-complementary
#A0AA40 #406BAA #7F40AA
monochromatic
#4C511F #767E2F #A0AA40 #BBC463 #CED58F

Accessibility & contrast

On white

2.52
#A0AA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#A0AA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0AA40
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0AA40#FFFFFF#000000##000000
##A0AA401.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A233
Deuteranopia (green-blind)
#B5A447
Tritanopia (blue-blind)
#AAA194
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a0aa40;
/* rgb */ color: rgb(160, 170, 64);
/* oklch */ color: oklch(70.9% 0.130 114.3);
Tailwind
colors: {
  custom: {
    50: '#bfc37a',
    500: '#a0aa40',
    950: '#000000',
  },
}
SCSS
$custom: #a0aa40;
$custom-light: #bfc37a;
$custom-dark: #000000;
JSON
{
  "hex": "#a0aa40",
  "rgb": {
    "r": 160,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 65.66,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70907,
    "c": 0.12983,
    "h": 114.3
  },
  "luminance": 0.36593
}

Semantic roles & 50–950 ramp

primary
#A0AA40
secondary
#8B86C0
accent
#53D55F
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #A0AA40

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

Preview Lab → · Contrast checker → · Palette generator →

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