#2A6C22#2A6C22

#2A6C22 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.2% C 0.127 H 141.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#2A6C22
RGBrgb(42, 108, 34)
HSLhsl(114, 52%, 28%)
HSVhsv(114, 69%, 42%)
CMYKcmyk(61.1%, 0%, 68.5%, 57.6%)
CIE-LABlab(40.13, -36.39, 34.10)
CIE-LCHlch(40.13, 49.87, 136.86°)
OKLaboklab(47.18% -0.0993 0.0789)
OKLCHoklch(47.18% 0.127 141.5)
XYZxyz(6.6058, 11.3323, 3.3523)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6C22 #64226C
analogous
#4F6C22 #2A6C22 #226C3F
triadic
#2A6C22 #222A6C #6C222A
tetradic
#2A6C22 #224F6C #64226C #6C3F22
square
#2A6C22 #224F6C #64226C #6C3F22
split-complementary
#2A6C22 #3F226C #6C224F
monochromatic
#091707 #183D13 #2A6C22 #3C9B31 #52C444

Accessibility & contrast

On white

6.43
#2A6C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2A6C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6C22
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6C22#FFFFFF#000000##FFFFFF
##2A6C221.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6219
Deuteranopia (green-blind)
#665C28
Tritanopia (blue-blind)
#20695D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a6c22;
/* rgb */ color: rgb(42, 108, 34);
/* oklch */ color: oklch(47.2% 0.127 141.5);
Tailwind
colors: {
  custom: {
    50: '#6c9761',
    500: '#2a6c22',
    950: '#000000',
  },
}
SCSS
$custom: #2a6c22;
$custom-light: #6c9761;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6c22",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 34
  },
  "hsl": {
    "h": 113.514,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4718,
    "c": 0.12683,
    "h": 141.5
  },
  "luminance": 0.11333
}

Semantic roles & 50–950 ramp

primary
#2A6C22
secondary
#964AA0
accent
#4CDCCC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2A6C22

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

Preview Lab → · Contrast checker → · Palette generator →

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