#2A6A22#2A6A22

#2A6A22 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.6% C 0.124 H 141.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2A6A22
RGBrgb(42, 106, 34)
HSLhsl(113, 51%, 27%)
HSVhsv(113, 68%, 42%)
CMYKcmyk(60.4%, 0%, 67.9%, 58.4%)
CIE-LABlab(39.44, -35.57, 33.33)
CIE-LCHlch(39.44, 48.75, 136.86°)
OKLaboklab(46.61% -0.0971 0.0772)
OKLCHoklch(46.61% 0.124 141.5)
XYZxyz(6.3973, 10.9152, 3.2828)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6A22 #62226A
analogous
#4E6A22 #2A6A22 #226A3E
triadic
#2A6A22 #222A6A #6A222A
tetradic
#2A6A22 #224E6A #62226A #6A3E22
square
#2A6A22 #224E6A #62226A #6A3E22
split-complementary
#2A6A22 #3E226A #6A224E
monochromatic
#091707 #183C13 #2A6A22 #3C9831 #52C344

Accessibility & contrast

On white

6.60
#2A6A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2A6A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6A22
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6A22#FFFFFF#000000##FFFFFF
##2A6A221.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6019
Deuteranopia (green-blind)
#655B28
Tritanopia (blue-blind)
#21675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a6a22;
/* rgb */ color: rgb(42, 106, 34);
/* oklch */ color: oklch(46.6% 0.124 141.5);
Tailwind
colors: {
  custom: {
    50: '#6b9561',
    500: '#2a6a22',
    950: '#000000',
  },
}
SCSS
$custom: #2a6a22;
$custom-light: #6b9561;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6a22",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 34
  },
  "hsl": {
    "h": 113.333,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.46605,
    "c": 0.12407,
    "h": 141.5
  },
  "luminance": 0.10916
}

Semantic roles & 50–950 ramp

primary
#2A6A22
secondary
#944A9E
accent
#4DDBCB
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2A6A22

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

Preview Lab → · Contrast checker → · Palette generator →

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