#2A6639#2A6639

#2A6639 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.8% C 0.096 H 149.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2A6639
RGBrgb(42, 102, 57)
HSLhsl(135, 42%, 28%)
HSVhsv(135, 59%, 40%)
CMYKcmyk(58.8%, 0%, 44.1%, 60%)
CIE-LABlab(38.36, -30.42, 19.71)
CIE-LCHlch(38.36, 36.25, 147.05°)
OKLaboklab(45.82% -0.0824 0.0488)
OKLCHoklch(45.82% 0.096 149.4)
XYZxyz(6.4443, 10.2898, 5.5166)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6639 #662A57
analogous
#39662A #2A6639 #2A6657
triadic
#2A6639 #392A66 #66392A
tetradic
#2A6639 #2A3966 #662A57 #66572A
square
#2A6639 #2A3966 #662A57 #66572A
split-complementary
#2A6639 #572A66 #662A39
monochromatic
#09160C #183B21 #2A6639 #3C9151 #52B86C

Accessibility & contrast

On white

6.87
#2A6639 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2A6639 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6639
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6639#FFFFFF#000000##FFFFFF
##2A66391.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675E36
Deuteranopia (green-blind)
#5F583C
Tritanopia (blue-blind)
#1C645B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a6639;
/* rgb */ color: rgb(42, 102, 57);
/* oklch */ color: oklch(45.8% 0.096 149.4);
Tailwind
colors: {
  custom: {
    50: '#699270',
    500: '#2a6639',
    950: '#000000',
  },
}
SCSS
$custom: #2a6639;
$custom-light: #699270;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6639",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 57
  },
  "hsl": {
    "h": 135,
    "s": 41.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.45818,
    "c": 0.09572,
    "h": 149.4
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#2A6639
secondary
#985487
accent
#56B3D1
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#070D07
muted
#7A7E7A

Preview Lab

Preview with #2A6639

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

Preview Lab → · Contrast checker → · Palette generator →

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