#2A6B13#2A6B13

#2A6B13 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.136 H 139.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2A6B13
RGBrgb(42, 107, 19)
HSLhsl(104, 70%, 25%)
HSVhsv(104, 82%, 42%)
CMYKcmyk(60.7%, 0%, 82.2%, 58%)
CIE-LABlab(39.67, -37.29, 39.78)
CIE-LCHlch(39.67, 54.53, 133.15°)
OKLaboklab(46.76% -0.1027 0.0886)
OKLCHoklch(46.76% 0.136 139.2)
XYZxyz(6.3298, 11.0541, 2.4161)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6B13 #54136B
analogous
#566B13 #2A6B13 #136B28
triadic
#2A6B13 #132A6B #6B132A
tetradic
#2A6B13 #13566B #54136B #6B2813
square
#2A6B13 #13566B #54136B #6B2813
split-complementary
#2A6B13 #28136B #6B1356
monochromatic
#0A1A05 #16370A #2A6B13 #3E9F1C #53D325

Accessibility & contrast

On white

6.54
#2A6B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2A6B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6B13
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6B13#FFFFFF#000000##FFFFFF
##2A6B131.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#23675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a6b13;
/* rgb */ color: rgb(42, 107, 19);
/* oklch */ color: oklch(46.8% 0.136 139.2);
Tailwind
colors: {
  custom: {
    50: '#6c9659',
    500: '#2a6b13',
    950: '#000000',
  },
}
SCSS
$custom: #2a6b13;
$custom-light: #6c9659;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6b13",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 19
  },
  "hsl": {
    "h": 104.318,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46761,
    "c": 0.13568,
    "h": 139.2
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

primary
#2A6B13
secondary
#8638A2
accent
#3BEDBE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6B13

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

Preview Lab → · Contrast checker → · Palette generator →

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