#2B7420#2B7420

#2B7420 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.139 H 141.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2B7420
RGBrgb(43, 116, 32)
HSLhsl(112, 57%, 29%)
HSVhsv(112, 72%, 45%)
CMYKcmyk(62.9%, 0%, 72.4%, 54.5%)
CIE-LABlab(42.93, -39.51, 38.00)
CIE-LCHlch(42.93, 54.82, 136.12°)
OKLaboklab(49.49% -0.108 0.0868)
OKLCHoklch(49.49% 0.139 141.2)
XYZxyz(7.5020, 13.1080, 3.5010)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7420 #692074
analogous
#557420 #2B7420 #20743F
triadic
#2B7420 #202B74 #74202B
tetradic
#2B7420 #205574 #692074 #743F20
square
#2B7420 #205574 #692074 #743F20
split-complementary
#2B7420 #3F2074 #742055
monochromatic
#091807 #194413 #2B7420 #3DA42D #55CB43

Accessibility & contrast

On white

5.80
#2B7420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2B7420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7420
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7420#FFFFFF#000000##FFFFFF
##2B74201.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776913
Deuteranopia (green-blind)
#6E6328
Tritanopia (blue-blind)
#207063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b7420;
/* rgb */ color: rgb(43, 116, 32);
/* oklch */ color: oklch(49.5% 0.139 141.2);
Tailwind
colors: {
  custom: {
    50: '#6e9d60',
    500: '#2b7420',
    950: '#000000',
  },
}
SCSS
$custom: #2b7420;
$custom-light: #6e9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7420",
  "rgb": {
    "r": 43,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 112.143,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49488,
    "c": 0.13854,
    "h": 141.2
  },
  "luminance": 0.13109
}

Semantic roles & 50–950 ramp

primary
#2B7420
secondary
#9B48A8
accent
#48E0CC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B7420

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

Preview Lab → · Contrast checker → · Palette generator →

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