#2A6239#2A6239

#2A6239 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.7% C 0.089 H 150.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2A6239
RGBrgb(42, 98, 57)
HSLhsl(136, 40%, 27%)
HSVhsv(136, 57%, 38%)
CMYKcmyk(57.1%, 0%, 41.8%, 61.6%)
CIE-LABlab(36.97, -28.57, 17.90)
CIE-LCHlch(36.97, 33.72, 147.93°)
OKLaboklab(44.68% -0.0775 0.0445)
OKLCHoklch(44.68% 0.089 150.1)
XYZxyz(6.0606, 9.5225, 5.3887)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6239 #622A53
analogous
#37622A #2A6239 #2A6255
triadic
#2A6239 #392A62 #62392A
tetradic
#2A6239 #2A3762 #622A53 #62552A
square
#2A6239 #2A3762 #622A53 #62552A
split-complementary
#2A6239 #552A62 #622A37
monochromatic
#09150C #183720 #2A6239 #3C8D52 #52B56C

Accessibility & contrast

On white

7.23
#2A6239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2A6239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6239
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6239#FFFFFF#000000##FFFFFF
##2A62391.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A36
Deuteranopia (green-blind)
#5B553C
Tritanopia (blue-blind)
#1D6058
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a6239;
/* rgb */ color: rgb(42, 98, 57);
/* oklch */ color: oklch(44.7% 0.089 150.1);
Tailwind
colors: {
  custom: {
    50: '#698f70',
    500: '#2a6239',
    950: '#000000',
  },
}
SCSS
$custom: #2a6239;
$custom-light: #698f70;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6239",
  "rgb": {
    "r": 42,
    "g": 98,
    "b": 57
  },
  "hsl": {
    "h": 136.071,
    "s": 40,
    "l": 27.451
  },
  "oklch": {
    "l": 0.44682,
    "c": 0.08934,
    "h": 150.1
  },
  "luminance": 0.09523
}

Semantic roles & 50–950 ramp

primary
#2A6239
secondary
#945383
accent
#58B0D0
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #2A6239

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

Preview Lab → · Contrast checker → · Palette generator →

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