#A2B640#A2B640

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

Color values

HEX#A2B640
RGBrgb(162, 182, 64)
HSLhsl(70, 48%, 48%)
HSVhsv(70, 65%, 71%)
CMYKcmyk(11%, 0%, 64.8%, 28.6%)
CIE-LABlab(70.53, -23.14, 55.63)
CIE-LCHlch(70.53, 60.25, 112.59°)
OKLaboklab(73.8% -0.068 0.1264)
OKLCHoklch(73.8% 0.144 118.3)
XYZxyz(32.5543, 41.5077, 11.1463)
Luminance0.4151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B640 #5440B6
analogous
#B68F40 #A2B640 #67B640
triadic
#A2B640 #40A2B6 #B640A2
tetradic
#A2B640 #40B68F #5440B6 #B64067
square
#A2B640 #40B68F #5440B6 #B64067
split-complementary
#A2B640 #4067B6 #8F40B6
monochromatic
#515B20 #7A8930 #A2B640 #BACA69 #CFDA96

Accessibility & contrast

On white

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

On black

9.30
#A2B640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B640
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B640#FFFFFF#000000##000000
##A2B6401.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC30
Deuteranopia (green-blind)
#BFAD48
Tritanopia (blue-blind)
#ABAC9E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a2b640;
/* rgb */ color: rgb(162, 182, 64);
/* oklch */ color: oklch(73.8% 0.144 118.3);
Tailwind
colors: {
  custom: {
    50: '#c0cb7b',
    500: '#a2b640',
    950: '#000000',
  },
}
SCSS
$custom: #a2b640;
$custom-light: #c0cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b640",
  "rgb": {
    "r": 162,
    "g": 182,
    "b": 64
  },
  "hsl": {
    "h": 70.169,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.738,
    "c": 0.14352,
    "h": 118.3
  },
  "luminance": 0.41507
}

Semantic roles & 50–950 ramp

primary
#A2B640
secondary
#968CC6
accent
#50D867
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B640

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

Preview Lab → · Contrast checker → · Palette generator →

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