#2A6E1A#2A6E1A

#2A6E1A is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.135 H 140.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2A6E1A
RGBrgb(42, 110, 26)
HSLhsl(109, 62%, 27%)
HSVhsv(109, 76%, 43%)
CMYKcmyk(61.8%, 0%, 76.4%, 56.9%)
CIE-LABlab(40.76, -37.96, 38.25)
CIE-LCHlch(40.76, 53.88, 134.78°)
OKLaboklab(47.68% -0.1041 0.0865)
OKLCHoklch(47.68% 0.135 140.3)
XYZxyz(6.7169, 11.7181, 2.8849)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6E1A #5E1A6E
analogous
#546E1A #2A6E1A #1A6E34
triadic
#2A6E1A #1A2A6E #6E1A2A
tetradic
#2A6E1A #1A546E #5E1A6E #6E341A
square
#2A6E1A #1A546E #5E1A6E #6E341A
split-complementary
#2A6E1A #341A6E #6E1A54
monochromatic
#091906 #173D0E #2A6E1A #3DA026 #51CF34

Accessibility & contrast

On white

6.28
#2A6E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2A6E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6E1A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6E1A#FFFFFF#000000##FFFFFF
##2A6E1A1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640B
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#216A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6e1a;
/* rgb */ color: rgb(42, 110, 26);
/* oklch */ color: oklch(47.7% 0.135 140.3);
Tailwind
colors: {
  custom: {
    50: '#6c985c',
    500: '#2a6e1a',
    950: '#000000',
  },
}
SCSS
$custom: #2a6e1a;
$custom-light: #6c985c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6e1a",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 108.571,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47679,
    "c": 0.13532,
    "h": 140.3
  },
  "luminance": 0.11719
}

Semantic roles & 50–950 ramp

primary
#2A6E1A
secondary
#9041A3
accent
#43E5C6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #2A6E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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