#2A6E1C#2A6E1C

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

Color values

HEX#2A6E1C
RGBrgb(42, 110, 28)
HSLhsl(110, 59%, 27%)
HSVhsv(110, 75%, 43%)
CMYKcmyk(61.8%, 0%, 74.5%, 56.9%)
CIE-LABlab(40.78, -37.78, 37.44)
CIE-LCHlch(40.78, 53.19, 135.26°)
OKLaboklab(47.7% -0.1035 0.0851)
OKLCHoklch(47.7% 0.134 140.6)
XYZxyz(6.7401, 11.7273, 3.0068)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6E1C #601C6E
analogous
#536E1C #2A6E1C #1C6E37
triadic
#2A6E1C #1C2A6E #6E1C2A
tetradic
#2A6E1C #1C536E #601C6E #6E371C
square
#2A6E1C #1C536E #601C6E #6E371C
split-complementary
#2A6E1C #371C6E #6E1C53
monochromatic
#091806 #173D10 #2A6E1C #3D9F28 #51CC38

Accessibility & contrast

On white

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

On black

3.35
#2A6E1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A6E1C#FFFFFF#000000##FFFFFF
##2A6E1C1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a6e1c;
/* rgb */ color: rgb(42, 110, 28);
/* oklch */ color: oklch(47.7% 0.134 140.6);
Tailwind
colors: {
  custom: {
    50: '#6c985e',
    500: '#2a6e1c',
    950: '#000000',
  },
}
SCSS
$custom: #2a6e1c;
$custom-light: #6c985e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6e1c",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 28
  },
  "hsl": {
    "h": 109.756,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47696,
    "c": 0.13398,
    "h": 140.6
  },
  "luminance": 0.11728
}

Semantic roles & 50–950 ramp

primary
#2A6E1C
secondary
#9243A3
accent
#45E3C8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #2A6E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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