#2A6D13#2A6D13

#2A6D13 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.3% C 0.138 H 139.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2A6D13
RGBrgb(42, 109, 19)
HSLhsl(105, 70%, 25%)
HSVhsv(105, 83%, 43%)
CMYKcmyk(61.5%, 0%, 82.6%, 57.3%)
CIE-LABlab(40.37, -38.08, 40.45)
CIE-LCHlch(40.37, 55.56, 133.27°)
OKLaboklab(47.34% -0.1048 0.09)
OKLCHoklch(47.34% 0.138 139.3)
XYZxyz(6.5408, 11.4760, 2.4864)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6D13 #56136D
analogous
#576D13 #2A6D13 #136D29
triadic
#2A6D13 #132A6D #6D132A
tetradic
#2A6D13 #13576D #56136D #6D2913
square
#2A6D13 #13576D #56136D #6D2913
split-complementary
#2A6D13 #29136D #6D1357
monochromatic
#0A1A05 #16390A #2A6D13 #3EA11C #52D525

Accessibility & contrast

On white

6.37
#2A6D13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2A6D13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6D13
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6D13#FFFFFF#000000##FFFFFF
##2A6D131.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706300
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#22695C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a6d13;
/* rgb */ color: rgb(42, 109, 19);
/* oklch */ color: oklch(47.3% 0.138 139.3);
Tailwind
colors: {
  custom: {
    50: '#6d9759',
    500: '#2a6d13',
    950: '#000000',
  },
}
SCSS
$custom: #2a6d13;
$custom-light: #6d9759;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6d13",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 19
  },
  "hsl": {
    "h": 104.667,
    "s": 70.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47339,
    "c": 0.13819,
    "h": 139.3
  },
  "luminance": 0.11477
}

Semantic roles & 50–950 ramp

primary
#2A6D13
secondary
#8838A4
accent
#3BEDC0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2A6D13

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

Preview Lab → · Contrast checker → · Palette generator →

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