#2A6732#2A6732

#2A6732 is a mid, moderate green. Relative luminance 0.104; OKLCH L 46.0% C 0.105 H 146.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2A6732
RGBrgb(42, 103, 50)
HSLhsl(128, 42%, 28%)
HSVhsv(128, 59%, 40%)
CMYKcmyk(59.2%, 0%, 51.5%, 59.6%)
CIE-LABlab(38.59, -32.10, 24.00)
CIE-LCHlch(38.59, 40.08, 143.21°)
OKLaboklab(45.97% -0.0869 0.0583)
OKLCHoklch(45.97% 0.105 146.2)
XYZxyz(6.3804, 10.4225, 4.6925)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6732 #672A5F
analogous
#40672A #2A6732 #2A6750
triadic
#2A6732 #322A67 #67322A
tetradic
#2A6732 #2A4067 #672A5F #67502A
square
#2A6732 #2A4067 #672A5F #67502A
split-complementary
#2A6732 #502A67 #672A40
monochromatic
#09160B #183C1D #2A6732 #3C9247 #53B960

Accessibility & contrast

On white

6.81
#2A6732 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2A6732 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6732
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6732#FFFFFF#000000##FFFFFF
##2A67321.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685E2E
Deuteranopia (green-blind)
#605936
Tritanopia (blue-blind)
#1E655B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a6732;
/* rgb */ color: rgb(42, 103, 50);
/* oklch */ color: oklch(46.0% 0.105 146.2);
Tailwind
colors: {
  custom: {
    50: '#6a936b',
    500: '#2a6732',
    950: '#000000',
  },
}
SCSS
$custom: #2a6732;
$custom-light: #6a936b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6732",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 50
  },
  "hsl": {
    "h": 127.869,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.45972,
    "c": 0.10467,
    "h": 146.2
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

primary
#2A6732
secondary
#995490
accent
#56C2D2
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2A6732

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

Preview Lab → · Contrast checker → · Palette generator →

#2A6732 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva