#2A6922#2A6922

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

Color values

HEX#2A6922
RGBrgb(42, 105, 34)
HSLhsl(113, 51%, 27%)
HSVhsv(113, 68%, 41%)
CMYKcmyk(60%, 0%, 67.6%, 58.8%)
CIE-LABlab(39.09, -35.15, 32.95)
CIE-LCHlch(39.09, 48.18, 136.85°)
OKLaboklab(46.32% -0.096 0.0764)
OKLCHoklch(46.32% 0.123 141.5)
XYZxyz(6.2948, 10.7103, 3.2486)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6922 #612269
analogous
#4E6922 #2A6922 #22693D
triadic
#2A6922 #222A69 #69222A
tetradic
#2A6922 #224E69 #612269 #693D22
square
#2A6922 #224E69 #612269 #693D22
split-complementary
#2A6922 #3D2269 #69224E
monochromatic
#091707 #183B13 #2A6922 #3C9731 #52C243

Accessibility & contrast

On white

6.68
#2A6922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6922
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6922#FFFFFF#000000##FFFFFF
##2A69221.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F19
Deuteranopia (green-blind)
#645A28
Tritanopia (blue-blind)
#21665A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6922;
/* rgb */ color: rgb(42, 105, 34);
/* oklch */ color: oklch(46.3% 0.123 141.5);
Tailwind
colors: {
  custom: {
    50: '#6b9460',
    500: '#2a6922',
    950: '#000000',
  },
}
SCSS
$custom: #2a6922;
$custom-light: #6b9460;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6922",
  "rgb": {
    "r": 42,
    "g": 105,
    "b": 34
  },
  "hsl": {
    "h": 113.239,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46317,
    "c": 0.12269,
    "h": 141.5
  },
  "luminance": 0.10711
}

Semantic roles & 50–950 ramp

primary
#2A6922
secondary
#934A9D
accent
#4DDBCB
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2A6922

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

Preview Lab → · Contrast checker → · Palette generator →

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