#2A6F20#2A6F20

#2A6F20 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.132 H 141.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2A6F20
RGBrgb(42, 111, 32)
HSLhsl(112, 55%, 28%)
HSVhsv(112, 71%, 44%)
CMYKcmyk(62.2%, 0%, 71.2%, 56.5%)
CIE-LABlab(41.16, -37.80, 36.12)
CIE-LCHlch(41.16, 52.28, 136.30°)
OKLaboklab(48.02% -0.1033 0.0829)
OKLCHoklch(48.02% 0.132 141.3)
XYZxyz(6.8997, 11.9648, 3.3121)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F20 #65206F
analogous
#516F20 #2A6F20 #206F3D
triadic
#2A6F20 #202A6F #6F202A
tetradic
#2A6F20 #20516F #65206F #6F3D20
square
#2A6F20 #20516F #65206F #6F3D20
split-complementary
#2A6F20 #3D206F #6F2051
monochromatic
#091807 #183F12 #2A6F20 #3C9F2E #52C841

Accessibility & contrast

On white

6.19
#2A6F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2A6F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F20
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F20#FFFFFF#000000##FFFFFF
##2A6F201.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726515
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#206B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a6f20;
/* rgb */ color: rgb(42, 111, 32);
/* oklch */ color: oklch(48.0% 0.132 141.3);
Tailwind
colors: {
  custom: {
    50: '#6c9960',
    500: '#2a6f20',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f20;
$custom-light: #6c9960;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f20",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 32
  },
  "hsl": {
    "h": 112.405,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48021,
    "c": 0.13242,
    "h": 141.3
  },
  "luminance": 0.11965
}

Semantic roles & 50–950 ramp

primary
#2A6F20
secondary
#9748A3
accent
#49DFCC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #2A6F20

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

Preview Lab → · Contrast checker → · Palette generator →

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