#2A6115#2A6115

#2A6115 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.9% C 0.121 H 138.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2A6115
RGBrgb(42, 97, 21)
HSLhsl(103, 64%, 23%)
HSVhsv(103, 78%, 38%)
CMYKcmyk(56.7%, 0%, 78.4%, 62%)
CIE-LABlab(36.17, -33.06, 35.62)
CIE-LCHlch(36.17, 48.60, 132.87°)
OKLaboklab(43.87% -0.0912 0.0803)
OKLCHoklch(43.87% 0.121 138.7)
XYZxyz(5.3647, 9.0954, 2.1822)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6115 #4C1561
analogous
#506115 #2A6115 #156126
triadic
#2A6115 #152A61 #61152A
tetradic
#2A6115 #155061 #4C1561 #612615
square
#2A6115 #155061 #4C1561 #612615
split-complementary
#2A6115 #261561 #611550
monochromatic
#0B1905 #142F0A #2A6115 #409320 #56C62B

Accessibility & contrast

On white

7.45
#2A6115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2A6115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6115
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6115#FFFFFF#000000##FFFFFF
##2A61151.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645807
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#255D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a6115;
/* rgb */ color: rgb(42, 97, 21);
/* oklch */ color: oklch(43.9% 0.121 138.7);
Tailwind
colors: {
  custom: {
    50: '#6a8e58',
    500: '#2a6115',
    950: '#000000',
  },
}
SCSS
$custom: #2a6115;
$custom-light: #6a8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6115",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 103.421,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43874,
    "c": 0.12148,
    "h": 138.7
  },
  "luminance": 0.09096
}

Semantic roles & 50–950 ramp

primary
#2A6115
secondary
#7E3A98
accent
#40E7B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A6115

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

Preview Lab → · Contrast checker → · Palette generator →

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