#A2A142#A2A142

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

Color values

HEX#A2A142
RGBrgb(162, 161, 66)
HSLhsl(59, 42%, 45%)
HSVhsv(59, 59%, 64%)
CMYKcmyk(0%, 0.6%, 59.3%, 36.5%)
CIE-LABlab(64.62, -12.32, 48.39)
CIE-LCHlch(64.62, 49.93, 104.28°)
OKLaboklab(69.07% -0.0374 0.1113)
OKLCHoklch(69.07% 0.117 108.6)
XYZxyz(28.6294, 33.5653, 10.1238)
Luminance0.3356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A142 #4243A2
analogous
#A27142 #A2A142 #73A242
triadic
#A2A142 #42A2A1 #A142A2
tetradic
#A2A142 #42A271 #4243A2 #A24273
square
#A2A142 #42A271 #4243A2 #A24273
split-complementary
#A2A142 #4273A2 #7142A2
monochromatic
#4B4B1F #777630 #A2A142 #BFBE62 #D1D08E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A142#FFFFFF#000000##000000
##A2A1421.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)
#AD9B37
Deuteranopia (green-blind)
#AF9E47
Tritanopia (blue-blind)
#AD978D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a142;
/* rgb */ color: rgb(162, 161, 66);
/* oklch */ color: oklch(69.1% 0.117 108.6);
Tailwind
colors: {
  custom: {
    50: '#c0bc7a',
    500: '#a2a142',
    950: '#000000',
  },
}
SCSS
$custom: #a2a142;
$custom-light: #c0bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a142",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 59.375,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69071,
    "c": 0.11742,
    "h": 108.6
  },
  "luminance": 0.33564
}

Semantic roles & 50–950 ramp

primary
#A2A142
secondary
#8484BC
accent
#57D256
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2A142

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

Preview Lab → · Contrast checker → · Palette generator →

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