#2A6E13#2A6E13

#2A6E13 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.139 H 139.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2A6E13
RGBrgb(42, 110, 19)
HSLhsl(105, 71%, 25%)
HSVhsv(105, 83%, 43%)
CMYKcmyk(61.8%, 0%, 82.7%, 56.9%)
CIE-LABlab(40.72, -38.47, 40.78)
CIE-LCHlch(40.72, 56.06, 133.33°)
OKLaboklab(47.63% -0.1059 0.0907)
OKLCHoklch(47.63% 0.139 139.4)
XYZxyz(6.6480, 11.6905, 2.5221)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6E13 #57136E
analogous
#576E13 #2A6E13 #136E29
triadic
#2A6E13 #132A6E #6E132A
tetradic
#2A6E13 #13576E #57136E #6E2913
square
#2A6E13 #13576E #57136E #6E2913
split-complementary
#2A6E13 #29136E #6E1357
monochromatic
#0A1A05 #163A0A #2A6E13 #3EA21C #52D625

Accessibility & contrast

On white

6.29
#2A6E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2A6E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6E13
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6E13#FFFFFF#000000##FFFFFF
##2A6E131.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#695E1E
Tritanopia (blue-blind)
#226A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6e13;
/* rgb */ color: rgb(42, 110, 19);
/* oklch */ color: oklch(47.6% 0.139 139.4);
Tailwind
colors: {
  custom: {
    50: '#6d9859',
    500: '#2a6e13',
    950: '#000000',
  },
}
SCSS
$custom: #2a6e13;
$custom-light: #6d9859;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6e13",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 19
  },
  "hsl": {
    "h": 104.835,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47628,
    "c": 0.13944,
    "h": 139.4
  },
  "luminance": 0.11691
}

Semantic roles & 50–950 ramp

primary
#2A6E13
secondary
#8938A5
accent
#3AEDC0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2A6E13

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

Preview Lab → · Contrast checker → · Palette generator →

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