#2A681A#2A681A

#2A681A is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.127 H 139.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2A681A
RGBrgb(42, 104, 26)
HSLhsl(108, 60%, 25%)
HSVhsv(108, 75%, 41%)
CMYKcmyk(59.6%, 0%, 75%, 59.2%)
CIE-LABlab(38.67, -35.55, 36.10)
CIE-LCHlch(38.67, 50.66, 134.55°)
OKLaboklab(45.95% -0.0976 0.082)
OKLCHoklch(45.95% 0.127 139.9)
XYZxyz(6.0913, 10.4669, 2.6764)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A681A #581A68
analogous
#51681A #2A681A #1A6831
triadic
#2A681A #1A2A68 #681A2A
tetradic
#2A681A #1A5168 #581A68 #68311A
square
#2A681A #1A5168 #581A68 #68311A
split-complementary
#2A681A #311A68 #681A51
monochromatic
#0A1806 #16370E #2A681A #3E9926 #52CA32

Accessibility & contrast

On white

6.79
#2A681A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2A681A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A681A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A681A#FFFFFF#000000##FFFFFF
##2A681A1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0D
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#236459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a681a;
/* rgb */ color: rgb(42, 104, 26);
/* oklch */ color: oklch(45.9% 0.127 139.9);
Tailwind
colors: {
  custom: {
    50: '#6b945c',
    500: '#2a681a',
    950: '#000000',
  },
}
SCSS
$custom: #2a681a;
$custom-light: #6b945c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a681a",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 26
  },
  "hsl": {
    "h": 107.692,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45948,
    "c": 0.12745,
    "h": 139.9
  },
  "luminance": 0.10467
}

Semantic roles & 50–950 ramp

primary
#2A681A
secondary
#8A409D
accent
#45E3C3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A681A

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

Preview Lab → · Contrast checker → · Palette generator →

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