#2A6719#2A6719

#2A6719 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.127 H 139.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2A6719
RGBrgb(42, 103, 25)
HSLhsl(107, 61%, 25%)
HSVhsv(107, 76%, 40%)
CMYKcmyk(59.2%, 0%, 75.7%, 59.6%)
CIE-LABlab(38.31, -35.22, 36.15)
CIE-LCHlch(38.31, 50.48, 134.25°)
OKLaboklab(45.65% -0.0968 0.082)
OKLCHoklch(45.65% 0.127 139.7)
XYZxyz(5.9803, 10.2624, 2.5852)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6719 #561967
analogous
#516719 #2A6719 #19672F
triadic
#2A6719 #192A67 #67192A
tetradic
#2A6719 #195167 #561967 #672F19
square
#2A6719 #195167 #561967 #672F19
split-complementary
#2A6719 #2F1967 #671951
monochromatic
#0A1906 #16360D #2A6719 #3E9825 #52C931

Accessibility & contrast

On white

6.88
#2A6719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2A6719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6719
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6719#FFFFFF#000000##FFFFFF
##2A67191.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0C
Deuteranopia (green-blind)
#625821
Tritanopia (blue-blind)
#236358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a6719;
/* rgb */ color: rgb(42, 103, 25);
/* oklch */ color: oklch(45.6% 0.127 139.7);
Tailwind
colors: {
  custom: {
    50: '#6b935b',
    500: '#2a6719',
    950: '#000000',
  },
}
SCSS
$custom: #2a6719;
$custom-light: #6b935b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6719",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 25
  },
  "hsl": {
    "h": 106.923,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4565,
    "c": 0.12681,
    "h": 139.7
  },
  "luminance": 0.10263
}

Semantic roles & 50–950 ramp

primary
#2A6719
secondary
#883F9D
accent
#44E4C1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6719

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

Preview Lab → · Contrast checker → · Palette generator →

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