#2A6A19#2A6A19

#2A6A19 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.131 H 139.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2A6A19
RGBrgb(42, 106, 25)
HSLhsl(107, 62%, 26%)
HSVhsv(107, 76%, 42%)
CMYKcmyk(60.4%, 0%, 76.4%, 58.4%)
CIE-LABlab(39.36, -36.44, 37.22)
CIE-LCHlch(39.36, 52.09, 134.39°)
OKLaboklab(46.52% -0.1 0.0842)
OKLCHoklch(46.52% 0.131 139.9)
XYZxyz(6.2841, 10.8700, 2.6865)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6A19 #59196A
analogous
#526A19 #2A6A19 #196A30
triadic
#2A6A19 #192A6A #6A192A
tetradic
#2A6A19 #19526A #59196A #6A3019
square
#2A6A19 #19526A #59196A #6A3019
split-complementary
#2A6A19 #30196A #6A1952
monochromatic
#0A1906 #16380D #2A6A19 #3E9C25 #51CD30

Accessibility & contrast

On white

6.62
#2A6A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6A19
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6A19#FFFFFF#000000##FFFFFF
##2A6A191.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600B
Deuteranopia (green-blind)
#655B21
Tritanopia (blue-blind)
#22665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a6a19;
/* rgb */ color: rgb(42, 106, 25);
/* oklch */ color: oklch(46.5% 0.131 139.9);
Tailwind
colors: {
  custom: {
    50: '#6c955b',
    500: '#2a6a19',
    950: '#000000',
  },
}
SCSS
$custom: #2a6a19;
$custom-light: #6c955b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6a19",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 25
  },
  "hsl": {
    "h": 107.407,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46517,
    "c": 0.13077,
    "h": 139.9
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#2A6A19
secondary
#8B3FA0
accent
#43E5C3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6A19

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

Preview Lab → · Contrast checker → · Palette generator →

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