#2A6D1E#2A6D1E

#2A6D1E is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.4% C 0.131 H 140.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#2A6D1E
RGBrgb(42, 109, 30)
HSLhsl(111, 57%, 27%)
HSVhsv(111, 72%, 43%)
CMYKcmyk(61.5%, 0%, 72.5%, 57.3%)
CIE-LABlab(40.45, -37.20, 36.24)
CIE-LCHlch(40.45, 51.94, 135.75°)
OKLaboklab(47.43% -0.1018 0.0829)
OKLCHoklch(47.43% 0.131 140.8)
XYZxyz(6.6575, 11.5227, 3.1013)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6D1E #611E6D
analogous
#526D1E #2A6D1E #1E6D3A
triadic
#2A6D1E #1E2A6D #6D1E2A
tetradic
#2A6D1E #1E526D #611E6D #6D3A1E
square
#2A6D1E #1E526D #611E6D #6D3A1E
split-complementary
#2A6D1E #3A1E6D #6D1E52
monochromatic
#091807 #183D11 #2A6D1E #3C9D2B #52C93C

Accessibility & contrast

On white

6.35
#2A6D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2A6D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6D1E
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6D1E#FFFFFF#000000##FFFFFF
##2A6D1E1.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706312
Deuteranopia (green-blind)
#685D25
Tritanopia (blue-blind)
#21695D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a6d1e;
/* rgb */ color: rgb(42, 109, 30);
/* oklch */ color: oklch(47.4% 0.131 140.8);
Tailwind
colors: {
  custom: {
    50: '#6c975f',
    500: '#2a6d1e',
    950: '#000000',
  },
}
SCSS
$custom: #2a6d1e;
$custom-light: #6c975f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6d1e",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 30
  },
  "hsl": {
    "h": 110.886,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47427,
    "c": 0.13124,
    "h": 140.8
  },
  "luminance": 0.11523
}

Semantic roles & 50–950 ramp

primary
#2A6D1E
secondary
#9345A1
accent
#48E0C9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2A6D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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