#2A6337#2A6337

#2A6337 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.9% C 0.093 H 148.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2A6337
RGBrgb(42, 99, 55)
HSLhsl(134, 40%, 28%)
HSVhsv(134, 58%, 39%)
CMYKcmyk(57.6%, 0%, 44.4%, 61.2%)
CIE-LABlab(37.28, -29.41, 19.48)
CIE-LCHlch(37.28, 35.28, 146.49°)
OKLaboklab(44.93% -0.0797 0.0481)
OKLCHoklch(44.93% 0.093 148.9)
XYZxyz(6.1059, 9.6912, 5.1625)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6337 #632A56
analogous
#39632A #2A6337 #2A6353
triadic
#2A6337 #372A63 #63372A
tetradic
#2A6337 #2A3963 #632A56 #63532A
square
#2A6337 #2A3963 #632A56 #63532A
split-complementary
#2A6337 #532A63 #632A39
monochromatic
#09150C #18381F #2A6337 #3C8E4F #52B669

Accessibility & contrast

On white

7.15
#2A6337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2A6337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6337
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6337#FFFFFF#000000##FFFFFF
##2A63371.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B34
Deuteranopia (green-blind)
#5C563A
Tritanopia (blue-blind)
#1E6158
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a6337;
/* rgb */ color: rgb(42, 99, 55);
/* oklch */ color: oklch(44.9% 0.093 148.9);
Tailwind
colors: {
  custom: {
    50: '#69906e',
    500: '#2a6337',
    950: '#000000',
  },
}
SCSS
$custom: #2a6337;
$custom-light: #69906e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6337",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 55
  },
  "hsl": {
    "h": 133.684,
    "s": 40.426,
    "l": 27.647
  },
  "oklch": {
    "l": 0.44925,
    "c": 0.09311,
    "h": 148.9
  },
  "luminance": 0.09692
}

Semantic roles & 50–950 ramp

primary
#2A6337
secondary
#955386
accent
#58B5D0
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#070C07
muted
#7A7D7A

Preview Lab

Preview with #2A6337

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

Preview Lab → · Contrast checker → · Palette generator →

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