#2A6F39#2A6F39

#2A6F39 is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.4% C 0.110 H 148.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2A6F39
RGBrgb(42, 111, 57)
HSLhsl(133, 45%, 30%)
HSVhsv(133, 62%, 44%)
CMYKcmyk(62.2%, 0%, 48.6%, 56.5%)
CIE-LABlab(41.46, -34.40, 23.70)
CIE-LCHlch(41.46, 41.78, 145.43°)
OKLaboklab(48.37% -0.093 0.0579)
OKLCHoklch(48.37% 0.11 148.1)
XYZxyz(7.3773, 12.1558, 5.8276)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F39 #6F2A60
analogous
#3E6F2A #2A6F39 #2A6F5B
triadic
#2A6F39 #392A6F #6F392A
tetradic
#2A6F39 #2A3E6F #6F2A60 #6F5B2A
square
#2A6F39 #2A3E6F #6F2A60 #6F5B2A
split-complementary
#2A6F39 #5B2A6F #6F2A3E
monochromatic
#08160B #194322 #2A6F39 #3B9B50 #55BF6C

Accessibility & contrast

On white

6.12
#2A6F39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2A6F39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F39
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F39#FFFFFF#000000##FFFFFF
##2A6F391.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706635
Deuteranopia (green-blind)
#675F3D
Tritanopia (blue-blind)
#196D62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a6f39;
/* rgb */ color: rgb(42, 111, 57);
/* oklch */ color: oklch(48.4% 0.110 148.1);
Tailwind
colors: {
  custom: {
    50: '#6b9970',
    500: '#2a6f39',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f39;
$custom-light: #6b9970;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f39",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 57
  },
  "hsl": {
    "h": 133.043,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.48368,
    "c": 0.10958,
    "h": 148.1
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#2A6F39
secondary
#A15490
accent
#53B9D5
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2A6F39

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

Preview Lab → · Contrast checker → · Palette generator →

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