#2A6734#2A6734

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

Color values

HEX#2A6734
RGBrgb(42, 103, 52)
HSLhsl(130, 42%, 28%)
HSVhsv(130, 59%, 40%)
CMYKcmyk(59.2%, 0%, 49.5%, 59.6%)
CIE-LABlab(38.62, -31.76, 22.92)
CIE-LCHlch(38.62, 39.16, 144.19°)
OKLaboklab(46.01% -0.086 0.0559)
OKLCHoklch(46.01% 0.103 147)
XYZxyz(6.4245, 10.4401, 4.9247)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6734 #672A5D
analogous
#3E672A #2A6734 #2A6752
triadic
#2A6734 #342A67 #67342A
tetradic
#2A6734 #2A3E67 #672A5D #67522A
square
#2A6734 #2A3E67 #672A5D #67522A
split-complementary
#2A6734 #522A67 #672A3E
monochromatic
#09160B #183C1E #2A6734 #3C924A #53B963

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A6734#FFFFFF#000000##FFFFFF
##2A67341.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)
#685E30
Deuteranopia (green-blind)
#605937
Tritanopia (blue-blind)
#1D655B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a6734;
/* rgb */ color: rgb(42, 103, 52);
/* oklch */ color: oklch(46.0% 0.103 147.0);
Tailwind
colors: {
  custom: {
    50: '#6a936c',
    500: '#2a6734',
    950: '#000000',
  },
}
SCSS
$custom: #2a6734;
$custom-light: #6a936c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6734",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 52
  },
  "hsl": {
    "h": 129.836,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46007,
    "c": 0.10259,
    "h": 147
  },
  "luminance": 0.10441
}

Semantic roles & 50–950 ramp

primary
#2A6734
secondary
#99548E
accent
#56BED2
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D07
muted
#7A7E7A

Preview Lab

Preview with #2A6734

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

Preview Lab → · Contrast checker → · Palette generator →

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