#A2B642#A2B642

#A2B642 is a light, vivid yellow-green. Relative luminance 0.415; OKLCH L 73.8% C 0.142 H 118.4°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#A2B642
RGBrgb(162, 182, 66)
HSLhsl(70, 47%, 49%)
HSVhsv(70, 64%, 71%)
CMYKcmyk(11%, 0%, 63.7%, 28.6%)
CIE-LABlab(70.55, -23.00, 54.81)
CIE-LCHlch(70.55, 59.44, 112.77°)
OKLaboklab(73.82% -0.0674 0.1249)
OKLCHoklch(73.82% 0.142 118.4)
XYZxyz(32.6122, 41.5309, 11.4514)
Luminance0.4153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B642 #5642B6
analogous
#B69042 #A2B642 #68B642
triadic
#A2B642 #42A2B6 #B642A2
tetradic
#A2B642 #42B690 #5642B6 #B64268
square
#A2B642 #42B690 #5642B6 #B64268
split-complementary
#A2B642 #4268B6 #9042B6
monochromatic
#525C21 #7A8932 #A2B642 #B9CA6C #CFDA99

Accessibility & contrast

On white

2.26
#A2B642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#A2B642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B642
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B642#FFFFFF#000000##000000
##A2B6421.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC33
Deuteranopia (green-blind)
#BFAD4A
Tritanopia (blue-blind)
#ABAC9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a2b642;
/* rgb */ color: rgb(162, 182, 66);
/* oklch */ color: oklch(73.8% 0.142 118.4);
Tailwind
colors: {
  custom: {
    50: '#c0cb7c',
    500: '#a2b642',
    950: '#000000',
  },
}
SCSS
$custom: #a2b642;
$custom-light: #c0cb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b642",
  "rgb": {
    "r": 162,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 70.345,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73818,
    "c": 0.14197,
    "h": 118.4
  },
  "luminance": 0.41531
}

Semantic roles & 50–950 ramp

primary
#A2B642
secondary
#988EC6
accent
#51D668
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B642

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

Preview Lab → · Contrast checker → · Palette generator →

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