#2A6D2C#2A6D2C

#2A6D2C is a mid, moderate green. Relative luminance 0.116; OKLCH L 47.6% C 0.119 H 143.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2A6D2C
RGBrgb(42, 109, 44)
HSLhsl(122, 44%, 30%)
HSVhsv(122, 61%, 43%)
CMYKcmyk(61.5%, 0%, 59.6%, 57.3%)
CIE-LABlab(40.59, -35.57, 29.67)
CIE-LCHlch(40.59, 46.32, 140.17°)
OKLaboklab(47.59% -0.0965 0.0704)
OKLCHoklch(47.59% 0.119 143.9)
XYZxyz(6.8777, 11.6107, 4.2610)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6D2C #6D2A6B
analogous
#4A6D2A #2A6D2C #2A6D4E
triadic
#2A6D2C #2C2A6D #6D2C2A
tetradic
#2A6D2C #2A4A6D #6D2A6B #6D4E2A
square
#2A6D2C #2A4A6D #6D2A6B #6D4E2A
split-complementary
#2A6D2C #4E2A6D #6D2A4A
monochromatic
#091609 #19411A #2A6D2C #3B993E #54BD57

Accessibility & contrast

On white

6.32
#2A6D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2A6D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6D2C
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6D2C#FFFFFF#000000##FFFFFF
##2A6D2C1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6326
Deuteranopia (green-blind)
#675D31
Tritanopia (blue-blind)
#1E6A5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6d2c;
/* rgb */ color: rgb(42, 109, 44);
/* oklch */ color: oklch(47.6% 0.119 143.9);
Tailwind
colors: {
  custom: {
    50: '#6b9767',
    500: '#2a6d2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a6d2c;
$custom-light: #6b9767;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6d2c",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 44
  },
  "hsl": {
    "h": 121.791,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.47591,
    "c": 0.11949,
    "h": 143.9
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#2A6D2C
secondary
#9F549D
accent
#54D0D4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2A6D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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