#2A6A13#2A6A13

#2A6A13 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.5% C 0.134 H 139.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2A6A13
RGBrgb(42, 106, 19)
HSLhsl(104, 70%, 25%)
HSVhsv(104, 82%, 42%)
CMYKcmyk(60.4%, 0%, 82.1%, 58.4%)
CIE-LABlab(39.32, -36.90, 39.45)
CIE-LCHlch(39.32, 54.01, 133.08°)
OKLaboklab(46.47% -0.1016 0.0879)
OKLCHoklch(46.47% 0.134 139.1)
XYZxyz(6.2262, 10.8468, 2.3815)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6A13 #53136A
analogous
#566A13 #2A6A13 #136A28
triadic
#2A6A13 #132A6A #6A132A
tetradic
#2A6A13 #13566A #53136A #6A2813
square
#2A6A13 #13566A #53136A #6A2813
split-complementary
#2A6A13 #28136A #6A1356
monochromatic
#0A1A05 #15360A #2A6A13 #3F9E1C #53D226

Accessibility & contrast

On white

6.63
#2A6A13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2A6A13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6A13
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6A13#FFFFFF#000000##FFFFFF
##2A6A131.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#655B1D
Tritanopia (blue-blind)
#23665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a6a13;
/* rgb */ color: rgb(42, 106, 19);
/* oklch */ color: oklch(46.5% 0.134 139.1);
Tailwind
colors: {
  custom: {
    50: '#6c9559',
    500: '#2a6a13',
    950: '#000000',
  },
}
SCSS
$custom: #2a6a13;
$custom-light: #6c9559;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6a13",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 19
  },
  "hsl": {
    "h": 104.138,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46472,
    "c": 0.13441,
    "h": 139.1
  },
  "luminance": 0.10847
}

Semantic roles & 50–950 ramp

primary
#2A6A13
secondary
#8538A1
accent
#3BECBE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6A13

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

Preview Lab → · Contrast checker → · Palette generator →

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