#2B6D22#2B6D22

#2B6D22 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.5% C 0.128 H 141.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2B6D22
RGBrgb(43, 109, 34)
HSLhsl(113, 52%, 28%)
HSVhsv(113, 69%, 43%)
CMYKcmyk(60.6%, 0%, 68.8%, 57.3%)
CIE-LABlab(40.52, -36.52, 34.53)
CIE-LCHlch(40.52, 50.26, 136.60°)
OKLaboklab(47.51% -0.0997 0.0798)
OKLCHoklch(47.51% 0.128 141.4)
XYZxyz(6.7533, 11.5658, 3.3896)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6D22 #64226D
analogous
#506D22 #2B6D22 #226D3E
triadic
#2B6D22 #222B6D #6D222B
tetradic
#2B6D22 #22506D #64226D #6D3E22
square
#2B6D22 #22506D #64226D #6D3E22
split-complementary
#2B6D22 #3E226D #6D2250
monochromatic
#091707 #193E13 #2B6D22 #3D9C31 #54C545

Accessibility & contrast

On white

6.34
#2B6D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2B6D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6D22
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6D22#FFFFFF#000000##FFFFFF
##2B6D221.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706318
Deuteranopia (green-blind)
#675D29
Tritanopia (blue-blind)
#226A5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b6d22;
/* rgb */ color: rgb(43, 109, 34);
/* oklch */ color: oklch(47.5% 0.128 141.4);
Tailwind
colors: {
  custom: {
    50: '#6c9761',
    500: '#2b6d22',
    950: '#000000',
  },
}
SCSS
$custom: #2b6d22;
$custom-light: #6c9761;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6d22",
  "rgb": {
    "r": 43,
    "g": 109,
    "b": 34
  },
  "hsl": {
    "h": 112.8,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.47506,
    "c": 0.12771,
    "h": 141.4
  },
  "luminance": 0.11566
}

Semantic roles & 50–950 ramp

primary
#2B6D22
secondary
#964AA1
accent
#4CDCCB
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2B6D22

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

Preview Lab → · Contrast checker → · Palette generator →

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