#2A6124#2A6124

#2A6124 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.0% C 0.109 H 141.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2A6124
RGBrgb(42, 97, 36)
HSLhsl(114, 46%, 26%)
HSVhsv(114, 63%, 38%)
CMYKcmyk(56.7%, 0%, 62.9%, 62%)
CIE-LABlab(36.31, -31.51, 28.81)
CIE-LCHlch(36.31, 42.70, 137.56°)
OKLaboklab(44.03% -0.086 0.0678)
OKLCHoklch(44.03% 0.109 141.7)
XYZxyz(5.5477, 9.1686, 3.1461)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6124 #5B2461
analogous
#486124 #2A6124 #24613C
triadic
#2A6124 #242A61 #61242A
tetradic
#2A6124 #244861 #5B2461 #613C24
square
#2A6124 #244861 #5B2461 #613C24
split-complementary
#2A6124 #3C2461 #612448
monochromatic
#0A1608 #173413 #2A6124 #3D8E35 #51BA45

Accessibility & contrast

On white

7.41
#2A6124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2A6124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6124
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6124#FFFFFF#000000##FFFFFF
##2A61241.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63581E
Deuteranopia (green-blind)
#5C5429
Tritanopia (blue-blind)
#235E54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a6124;
/* rgb */ color: rgb(42, 97, 36);
/* oklch */ color: oklch(44.0% 0.109 141.7);
Tailwind
colors: {
  custom: {
    50: '#698e61',
    500: '#2a6124',
    950: '#000000',
  },
}
SCSS
$custom: #2a6124;
$custom-light: #698e61;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6124",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 36
  },
  "hsl": {
    "h": 114.098,
    "s": 45.865,
    "l": 26.078
  },
  "oklch": {
    "l": 0.44034,
    "c": 0.10949,
    "h": 141.7
  },
  "luminance": 0.09169
}

Semantic roles & 50–950 ramp

primary
#2A6124
secondary
#8D4C94
accent
#52D6C9
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2A6124

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

Preview Lab → · Contrast checker → · Palette generator →

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