#2A6B3D#2A6B3D

#2A6B3D is a mid, moderate green. Relative luminance 0.113; OKLCH L 47.3% C 0.099 H 150.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#2A6B3D
RGBrgb(42, 107, 61)
HSLhsl(138, 44%, 29%)
HSVhsv(138, 61%, 42%)
CMYKcmyk(60.7%, 0%, 43%, 58%)
CIE-LABlab(40.15, -31.92, 19.74)
CIE-LCHlch(40.15, 37.53, 148.26°)
OKLaboklab(47.32% -0.0864 0.0489)
OKLCHoklch(47.32% 0.099 150.5)
XYZxyz(7.0543, 11.3439, 6.2318)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6B3D #6B2A58
analogous
#386B2A #2A6B3D #2A6B5E
triadic
#2A6B3D #3D2A6B #6B3D2A
tetradic
#2A6B3D #2A386B #6B2A58 #6B5E2A
square
#2A6B3D #2A386B #6B2A58 #6B5E2A
split-complementary
#2A6B3D #5E2A6B #6B2A38
monochromatic
#09160D #193F24 #2A6B3D #3B9756 #54BC72

Accessibility & contrast

On white

6.42
#2A6B3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2A6B3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6B3D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6B3D#FFFFFF#000000##FFFFFF
##2A6B3D1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C623A
Deuteranopia (green-blind)
#635C40
Tritanopia (blue-blind)
#196960
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a6b3d;
/* rgb */ color: rgb(42, 107, 61);
/* oklch */ color: oklch(47.3% 0.099 150.5);
Tailwind
colors: {
  custom: {
    50: '#6a9673',
    500: '#2a6b3d',
    950: '#000000',
  },
}
SCSS
$custom: #2a6b3d;
$custom-light: #6a9673;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6b3d",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 61
  },
  "hsl": {
    "h": 137.538,
    "s": 43.624,
    "l": 29.216
  },
  "oklch": {
    "l": 0.47315,
    "c": 0.0993,
    "h": 150.5
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#2A6B3D
secondary
#9D5488
accent
#54AED3
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2A6B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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