#2A6C13#2A6C13

#2A6C13 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.137 H 139.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2A6C13
RGBrgb(42, 108, 19)
HSLhsl(104, 70%, 25%)
HSVhsv(104, 82%, 42%)
CMYKcmyk(61.1%, 0%, 82.4%, 57.6%)
CIE-LABlab(40.02, -37.69, 40.12)
CIE-LCHlch(40.02, 55.04, 133.21°)
OKLaboklab(47.05% -0.1038 0.0893)
OKLCHoklch(47.05% 0.137 139.3)
XYZxyz(6.4347, 11.2638, 2.4510)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6C13 #55136C
analogous
#576C13 #2A6C13 #136C28
triadic
#2A6C13 #132A6C #6C132A
tetradic
#2A6C13 #13576C #55136C #6C2813
square
#2A6C13 #13576C #55136C #6C2813
split-complementary
#2A6C13 #28136C #6C1357
monochromatic
#0A1A05 #16380A #2A6C13 #3EA01C #52D425

Accessibility & contrast

On white

6.46
#2A6C13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2A6C13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6C13
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6C13#FFFFFF#000000##FFFFFF
##2A6C131.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6200
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#22685B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a6c13;
/* rgb */ color: rgb(42, 108, 19);
/* oklch */ color: oklch(47.0% 0.137 139.3);
Tailwind
colors: {
  custom: {
    50: '#6c9759',
    500: '#2a6c13',
    950: '#000000',
  },
}
SCSS
$custom: #2a6c13;
$custom-light: #6c9759;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6c13",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 19
  },
  "hsl": {
    "h": 104.494,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4705,
    "c": 0.13694,
    "h": 139.3
  },
  "luminance": 0.11264
}

Semantic roles & 50–950 ramp

primary
#2A6C13
secondary
#8738A3
accent
#3BEDBF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2A6C13

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

Preview Lab → · Contrast checker → · Palette generator →

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