#2A6920#2A6920

#2A6920 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.3% C 0.124 H 141.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#2A6920
RGBrgb(42, 105, 32)
HSLhsl(112, 53%, 27%)
HSVhsv(112, 70%, 41%)
CMYKcmyk(60%, 0%, 69.5%, 58.8%)
CIE-LABlab(39.07, -35.37, 33.87)
CIE-LCHlch(39.07, 48.97, 136.24°)
OKLaboklab(46.29% -0.0967 0.0781)
OKLCHoklch(46.29% 0.124 141.1)
XYZxyz(6.2668, 10.6991, 3.1011)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6920 #5F2069
analogous
#4F6920 #2A6920 #20693B
triadic
#2A6920 #202A69 #69202A
tetradic
#2A6920 #204F69 #5F2069 #693B20
square
#2A6920 #204F69 #5F2069 #693B20
split-complementary
#2A6920 #3B2069 #69204F
monochromatic
#091707 #173A12 #2A6920 #3D982E #51C43F

Accessibility & contrast

On white

6.69
#2A6920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2A6920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6920
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6920#FFFFFF#000000##FFFFFF
##2A69201.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F17
Deuteranopia (green-blind)
#645A26
Tritanopia (blue-blind)
#22665A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6920;
/* rgb */ color: rgb(42, 105, 32);
/* oklch */ color: oklch(46.3% 0.124 141.1);
Tailwind
colors: {
  custom: {
    50: '#6b945f',
    500: '#2a6920',
    950: '#000000',
  },
}
SCSS
$custom: #2a6920;
$custom-light: #6b945f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6920",
  "rgb": {
    "r": 42,
    "g": 105,
    "b": 32
  },
  "hsl": {
    "h": 111.781,
    "s": 53.285,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46295,
    "c": 0.12432,
    "h": 141.1
  },
  "luminance": 0.107
}

Semantic roles & 50–950 ramp

primary
#2A6920
secondary
#91489D
accent
#4BDDC9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2A6920

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

Preview Lab → · Contrast checker → · Palette generator →

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