#2A6733#2A6733

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

Color values

HEX#2A6733
RGBrgb(42, 103, 51)
HSLhsl(129, 42%, 28%)
HSVhsv(129, 59%, 40%)
CMYKcmyk(59.2%, 0%, 50.5%, 59.6%)
CIE-LABlab(38.61, -31.93, 23.46)
CIE-LCHlch(38.61, 39.62, 143.69°)
OKLaboklab(45.99% -0.0865 0.0571)
OKLCHoklch(45.99% 0.104 146.6)
XYZxyz(6.4022, 10.4312, 4.8074)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6733 #672A5E
analogous
#3F672A #2A6733 #2A6751
triadic
#2A6733 #332A67 #67332A
tetradic
#2A6733 #2A3F67 #672A5E #67512A
square
#2A6733 #2A3F67 #672A5E #67512A
split-complementary
#2A6733 #512A67 #672A3F
monochromatic
#09160B #183C1D #2A6733 #3C9249 #53B962

Accessibility & contrast

On white

6.80
#2A6733 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2A6733 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6733
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6733#FFFFFF#000000##FFFFFF
##2A67331.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a6733;
/* rgb */ color: rgb(42, 103, 51);
/* oklch */ color: oklch(46.0% 0.104 146.6);
Tailwind
colors: {
  custom: {
    50: '#6a936c',
    500: '#2a6733',
    950: '#000000',
  },
}
SCSS
$custom: #2a6733;
$custom-light: #6a936c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6733",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 51
  },
  "hsl": {
    "h": 128.852,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.45989,
    "c": 0.10363,
    "h": 146.6
  },
  "luminance": 0.10432
}

Semantic roles & 50–950 ramp

primary
#2A6733
secondary
#99548F
accent
#56C0D2
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D07
muted
#7A7E7A

Preview Lab

Preview with #2A6733

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

Preview Lab → · Contrast checker → · Palette generator →

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