#2A6738#2A6738

#2A6738 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.1% C 0.098 H 148.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2A6738
RGBrgb(42, 103, 56)
HSLhsl(134, 42%, 28%)
HSVhsv(134, 59%, 40%)
CMYKcmyk(59.2%, 0%, 45.6%, 59.6%)
CIE-LABlab(38.69, -31.05, 20.72)
CIE-LCHlch(38.69, 37.33, 146.29°)
OKLaboklab(46.08% -0.0841 0.0511)
OKLCHoklch(46.08% 0.098 148.7)
XYZxyz(6.5185, 10.4777, 5.4195)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6738 #672A59
analogous
#3A672A #2A6738 #2A6756
triadic
#2A6738 #382A67 #67382A
tetradic
#2A6738 #2A3A67 #672A59 #67562A
square
#2A6738 #2A3A67 #672A59 #67562A
split-complementary
#2A6738 #562A67 #672A3A
monochromatic
#09160C #183C20 #2A6738 #3C9250 #53B96A

Accessibility & contrast

On white

6.78
#2A6738 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2A6738 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6738
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6738#FFFFFF#000000##FFFFFF
##2A67381.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F35
Deuteranopia (green-blind)
#60593B
Tritanopia (blue-blind)
#1C655C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a6738;
/* rgb */ color: rgb(42, 103, 56);
/* oklch */ color: oklch(46.1% 0.098 148.7);
Tailwind
colors: {
  custom: {
    50: '#6a936f',
    500: '#2a6738',
    950: '#000000',
  },
}
SCSS
$custom: #2a6738;
$custom-light: #6a936f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6738",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 56
  },
  "hsl": {
    "h": 133.77,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46082,
    "c": 0.09836,
    "h": 148.7
  },
  "luminance": 0.10478
}

Semantic roles & 50–950 ramp

primary
#2A6738
secondary
#995489
accent
#56B5D2
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#070D07
muted
#7A7E7A

Preview Lab

Preview with #2A6738

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

Preview Lab → · Contrast checker → · Palette generator →

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