#A2A140#A2A140

#A2A140 is a light, moderate yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.119 H 108.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A2A140
RGBrgb(162, 161, 64)
HSLhsl(59, 43%, 44%)
HSVhsv(59, 60%, 64%)
CMYKcmyk(0%, 0.6%, 60.5%, 36.5%)
CIE-LABlab(64.60, -12.46, 49.27)
CIE-LCHlch(64.60, 50.83, 104.19°)
OKLaboklab(69.05% -0.038 0.1129)
OKLCHoklch(69.05% 0.119 108.6)
XYZxyz(28.5714, 33.5421, 9.8187)
Luminance0.3354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A140 #4041A2
analogous
#A27040 #A2A140 #72A240
triadic
#A2A140 #40A2A1 #A140A2
tetradic
#A2A140 #40A270 #4041A2 #A24072
square
#A2A140 #40A270 #4041A2 #A24072
split-complementary
#A2A140 #4072A2 #7040A2
monochromatic
#4A4A1D #76752F #A2A140 #C0BF5F #D1D18B

Accessibility & contrast

On white

2.72
#A2A140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A2A140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A140
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A140#FFFFFF#000000##000000
##A2A1401.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B35
Deuteranopia (green-blind)
#AF9E46
Tritanopia (blue-blind)
#AD978C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a140;
/* rgb */ color: rgb(162, 161, 64);
/* oklch */ color: oklch(69.0% 0.119 108.6);
Tailwind
colors: {
  custom: {
    50: '#c0bc79',
    500: '#a2a140',
    950: '#000000',
  },
}
SCSS
$custom: #a2a140;
$custom-light: #c0bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a140",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 64
  },
  "hsl": {
    "h": 59.388,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6905,
    "c": 0.11916,
    "h": 108.6
  },
  "luminance": 0.33541
}

Semantic roles & 50–950 ramp

primary
#A2A140
secondary
#8282BC
accent
#56D355
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2A140

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

Preview Lab → · Contrast checker → · Palette generator →

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