#2A6913#2A6913

#2A6913 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.2% C 0.133 H 139.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2A6913
RGBrgb(42, 105, 19)
HSLhsl(104, 69%, 24%)
HSVhsv(104, 82%, 41%)
CMYKcmyk(60%, 0%, 81.9%, 58.8%)
CIE-LABlab(38.97, -36.50, 39.11)
CIE-LCHlch(38.97, 53.50, 133.02°)
OKLaboklab(46.18% -0.1006 0.0872)
OKLCHoklch(46.18% 0.133 139.1)
XYZxyz(6.1237, 10.6419, 2.3474)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6913 #521369
analogous
#556913 #2A6913 #136927
triadic
#2A6913 #132A69 #69132A
tetradic
#2A6913 #135569 #521369 #692713
square
#2A6913 #135569 #521369 #692713
split-complementary
#2A6913 #271369 #691355
monochromatic
#0A1A05 #15350A #2A6913 #3F9D1C #53D126

Accessibility & contrast

On white

6.71
#2A6913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2A6913 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6913
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6913#FFFFFF#000000##FFFFFF
##2A69131.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#645A1D
Tritanopia (blue-blind)
#236559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6913;
/* rgb */ color: rgb(42, 105, 19);
/* oklch */ color: oklch(46.2% 0.133 139.1);
Tailwind
colors: {
  custom: {
    50: '#6c9458',
    500: '#2a6913',
    950: '#000000',
  },
}
SCSS
$custom: #2a6913;
$custom-light: #6c9458;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6913",
  "rgb": {
    "r": 42,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 103.953,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46183,
    "c": 0.13314,
    "h": 139.1
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#2A6913
secondary
#8438A0
accent
#3CECBD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6913

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

Preview Lab → · Contrast checker → · Palette generator →

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